@@ -27,12 +27,17 @@ class MockWorkmanager extends _i1.Mock implements _i2.Workmanager {
27
27
28
28
@override
29
29
void executeTask (_i2.BackgroundTaskHandler ? backgroundTask) =>
30
- super .noSuchMethod (Invocation .method (#executeTask, [backgroundTask]), returnValueForMissingStub: null );
30
+ super .noSuchMethod (Invocation .method (#executeTask, [backgroundTask]),
31
+ returnValueForMissingStub: null );
31
32
32
33
@override
33
- _i3.Future <void > initialize (Function ? callbackDispatcher, {bool ? isInDebugMode = false }) =>
34
- (super .noSuchMethod (Invocation .method (#initialize, [callbackDispatcher], {#isInDebugMode: isInDebugMode}),
35
- returnValue: Future <void >.value (), returnValueForMissingStub: Future <void >.value ()) as _i3.Future <void >);
34
+ _i3.Future <void > initialize (Function ? callbackDispatcher,
35
+ {bool ? isInDebugMode = false }) =>
36
+ (super .noSuchMethod (
37
+ Invocation .method (#initialize, [callbackDispatcher],
38
+ {#isInDebugMode: isInDebugMode}),
39
+ returnValue: Future <void >.value (),
40
+ returnValueForMissingStub: Future <void >.value ()) as _i3.Future <void >);
36
41
37
42
@override
38
43
_i3.Future <void > registerOneOffTask (String ? uniqueName, String ? taskName,
@@ -92,16 +97,20 @@ class MockWorkmanager extends _i1.Mock implements _i2.Workmanager {
92
97
returnValueForMissingStub: Future <void >.value ()) as _i3.Future <void >);
93
98
94
99
@override
95
- _i3.Future <void > cancelByUniqueName (String ? uniqueName) => (super .noSuchMethod (Invocation .method (#cancelByUniqueName, [uniqueName]),
96
- returnValue: Future <void >.value (), returnValueForMissingStub: Future <void >.value ()) as _i3.Future <void >);
100
+ _i3.Future <void > cancelByUniqueName (String ? uniqueName) =>
101
+ (super .noSuchMethod (Invocation .method (#cancelByUniqueName, [uniqueName]),
102
+ returnValue: Future <void >.value (),
103
+ returnValueForMissingStub: Future <void >.value ()) as _i3.Future <void >);
97
104
98
105
@override
99
106
_i3.Future <void > cancelByTag (String ? tag) =>
100
- (super .noSuchMethod (Invocation .method (#cancelByTag, [tag]), returnValue: Future <void >.value (), returnValueForMissingStub: Future <void >.value ())
101
- as _i3.Future <void >);
107
+ (super .noSuchMethod (Invocation .method (#cancelByTag, [tag]),
108
+ returnValue: Future <void >.value (),
109
+ returnValueForMissingStub: Future <void >.value ()) as _i3.Future <void >);
102
110
103
111
@override
104
112
_i3.Future <void > cancelAll () =>
105
- (super .noSuchMethod (Invocation .method (#cancelAll, []), returnValue: Future <void >.value (), returnValueForMissingStub: Future <void >.value ())
106
- as _i3.Future <void >);
113
+ (super .noSuchMethod (Invocation .method (#cancelAll, []),
114
+ returnValue: Future <void >.value (),
115
+ returnValueForMissingStub: Future <void >.value ()) as _i3.Future <void >);
107
116
}
0 commit comments