We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e304b6c commit 86f72c2Copy full SHA for 86f72c2
packages/flutter_riverpod/test/src/core/provider_subscription_test.dart
@@ -39,13 +39,13 @@ void main() {
39
});
40
}
41
42
-class DeferredNotifier<T> extends Notifier<T> {
+class DeferredNotifier<StateT> extends Notifier<StateT> {
43
DeferredNotifier(this._build);
44
45
- final T Function(Ref ref, DeferredNotifier<T> self) _build;
+ final StateT Function(Ref ref, DeferredNotifier<StateT> self) _build;
46
47
@override
48
- T build() {
+ StateT build() {
49
return _build(ref, this);
50
51
0 commit comments