mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Move to riverpod three
Needed to downgrade build_runner and mockito for now
This commit is contained in:
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -92,44 +91,64 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
_i2.WgerBaseProvider get baseProvider =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.getter(#baseProvider),
|
||||
returnValue: _FakeWgerBaseProvider_0(this, Invocation.getter(#baseProvider)),
|
||||
returnValue: _FakeWgerBaseProvider_0(
|
||||
this,
|
||||
Invocation.getter(#baseProvider),
|
||||
),
|
||||
)
|
||||
as _i2.WgerBaseProvider);
|
||||
|
||||
@override
|
||||
List<_i5.Routine> get items =>
|
||||
(super.noSuchMethod(Invocation.getter(#items), returnValue: <_i5.Routine>[])
|
||||
(super.noSuchMethod(
|
||||
Invocation.getter(#items),
|
||||
returnValue: <_i5.Routine>[],
|
||||
)
|
||||
as List<_i5.Routine>);
|
||||
|
||||
@override
|
||||
List<_i3.WeightUnit> get weightUnits =>
|
||||
(super.noSuchMethod(Invocation.getter(#weightUnits), returnValue: <_i3.WeightUnit>[])
|
||||
(super.noSuchMethod(
|
||||
Invocation.getter(#weightUnits),
|
||||
returnValue: <_i3.WeightUnit>[],
|
||||
)
|
||||
as List<_i3.WeightUnit>);
|
||||
|
||||
@override
|
||||
_i3.WeightUnit get defaultWeightUnit =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.getter(#defaultWeightUnit),
|
||||
returnValue: _FakeWeightUnit_1(this, Invocation.getter(#defaultWeightUnit)),
|
||||
returnValue: _FakeWeightUnit_1(
|
||||
this,
|
||||
Invocation.getter(#defaultWeightUnit),
|
||||
),
|
||||
)
|
||||
as _i3.WeightUnit);
|
||||
|
||||
@override
|
||||
List<_i4.RepetitionUnit> get repetitionUnits =>
|
||||
(super.noSuchMethod(Invocation.getter(#repetitionUnits), returnValue: <_i4.RepetitionUnit>[])
|
||||
(super.noSuchMethod(
|
||||
Invocation.getter(#repetitionUnits),
|
||||
returnValue: <_i4.RepetitionUnit>[],
|
||||
)
|
||||
as List<_i4.RepetitionUnit>);
|
||||
|
||||
@override
|
||||
_i4.RepetitionUnit get defaultRepetitionUnit =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.getter(#defaultRepetitionUnit),
|
||||
returnValue: _FakeRepetitionUnit_2(this, Invocation.getter(#defaultRepetitionUnit)),
|
||||
returnValue: _FakeRepetitionUnit_2(
|
||||
this,
|
||||
Invocation.getter(#defaultRepetitionUnit),
|
||||
),
|
||||
)
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) =>
|
||||
super.noSuchMethod(Invocation.setter(#activeRoutine, value), returnValueForMissingStub: null);
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
set weightUnits(List<_i3.WeightUnit>? weightUnits) => super.noSuchMethod(
|
||||
@@ -148,14 +167,19 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
(super.noSuchMethod(Invocation.getter(#hasListeners), returnValue: false) as bool);
|
||||
|
||||
@override
|
||||
void clear() =>
|
||||
super.noSuchMethod(Invocation.method(#clear, []), returnValueForMissingStub: null);
|
||||
void clear() => super.noSuchMethod(
|
||||
Invocation.method(#clear, []),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
_i3.WeightUnit findWeightUnitById(int? id) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#findWeightUnitById, [id]),
|
||||
returnValue: _FakeWeightUnit_1(this, Invocation.method(#findWeightUnitById, [id])),
|
||||
returnValue: _FakeWeightUnit_1(
|
||||
this,
|
||||
Invocation.method(#findWeightUnitById, [id]),
|
||||
),
|
||||
)
|
||||
as _i3.WeightUnit);
|
||||
|
||||
@@ -172,20 +196,30 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
|
||||
@override
|
||||
List<_i5.Routine> getPlans() =>
|
||||
(super.noSuchMethod(Invocation.method(#getPlans, []), returnValue: <_i5.Routine>[])
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#getPlans, []),
|
||||
returnValue: <_i5.Routine>[],
|
||||
)
|
||||
as List<_i5.Routine>);
|
||||
|
||||
@override
|
||||
_i5.Routine findById(int? id) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#findById, [id]),
|
||||
returnValue: _FakeRoutine_3(this, Invocation.method(#findById, [id])),
|
||||
returnValue: _FakeRoutine_3(
|
||||
this,
|
||||
Invocation.method(#findById, [id]),
|
||||
),
|
||||
)
|
||||
as _i5.Routine);
|
||||
|
||||
@override
|
||||
int findIndexById(int? id) =>
|
||||
(super.noSuchMethod(Invocation.method(#findIndexById, [id]), returnValue: 0) as int);
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#findIndexById, [id]),
|
||||
returnValue: 0,
|
||||
)
|
||||
as int);
|
||||
|
||||
@override
|
||||
_i13.Future<void> fetchAndSetAllRoutinesFull() =>
|
||||
@@ -211,7 +245,11 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
Map<int, _i15.Exercise>? exercises,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#setExercisesAndUnits, [entries], {#exercises: exercises}),
|
||||
Invocation.method(
|
||||
#setExercisesAndUnits,
|
||||
[entries],
|
||||
{#exercises: exercises},
|
||||
),
|
||||
returnValue: _i13.Future<void>.value(),
|
||||
returnValueForMissingStub: _i13.Future<void>.value(),
|
||||
)
|
||||
@@ -222,7 +260,10 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#fetchAndSetRoutineSparse, [planId]),
|
||||
returnValue: _i13.Future<_i5.Routine>.value(
|
||||
_FakeRoutine_3(this, Invocation.method(#fetchAndSetRoutineSparse, [planId])),
|
||||
_FakeRoutine_3(
|
||||
this,
|
||||
Invocation.method(#fetchAndSetRoutineSparse, [planId]),
|
||||
),
|
||||
),
|
||||
)
|
||||
as _i13.Future<_i5.Routine>);
|
||||
@@ -232,7 +273,10 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#fetchAndSetRoutineFull, [routineId]),
|
||||
returnValue: _i13.Future<_i5.Routine>.value(
|
||||
_FakeRoutine_3(this, Invocation.method(#fetchAndSetRoutineFull, [routineId])),
|
||||
_FakeRoutine_3(
|
||||
this,
|
||||
Invocation.method(#fetchAndSetRoutineFull, [routineId]),
|
||||
),
|
||||
),
|
||||
)
|
||||
as _i13.Future<_i5.Routine>);
|
||||
@@ -367,11 +411,17 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i13.Future<void>);
|
||||
|
||||
@override
|
||||
_i13.Future<_i8.SlotEntry> addSlotEntry(_i8.SlotEntry? entry, int? routineId) =>
|
||||
_i13.Future<_i8.SlotEntry> addSlotEntry(
|
||||
_i8.SlotEntry? entry,
|
||||
int? routineId,
|
||||
) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#addSlotEntry, [entry, routineId]),
|
||||
returnValue: _i13.Future<_i8.SlotEntry>.value(
|
||||
_FakeSlotEntry_6(this, Invocation.method(#addSlotEntry, [entry, routineId])),
|
||||
_FakeSlotEntry_6(
|
||||
this,
|
||||
Invocation.method(#addSlotEntry, [entry, routineId]),
|
||||
),
|
||||
),
|
||||
)
|
||||
as _i13.Future<_i8.SlotEntry>);
|
||||
@@ -398,26 +448,41 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
String getConfigUrl(_i8.ConfigType? type) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#getConfigUrl, [type]),
|
||||
returnValue: _i16.dummyValue<String>(this, Invocation.method(#getConfigUrl, [type])),
|
||||
returnValue: _i16.dummyValue<String>(
|
||||
this,
|
||||
Invocation.method(#getConfigUrl, [type]),
|
||||
),
|
||||
)
|
||||
as String);
|
||||
|
||||
@override
|
||||
_i13.Future<_i9.BaseConfig> editConfig(_i9.BaseConfig? config, _i8.ConfigType? type) =>
|
||||
_i13.Future<_i9.BaseConfig> editConfig(
|
||||
_i9.BaseConfig? config,
|
||||
_i8.ConfigType? type,
|
||||
) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#editConfig, [config, type]),
|
||||
returnValue: _i13.Future<_i9.BaseConfig>.value(
|
||||
_FakeBaseConfig_7(this, Invocation.method(#editConfig, [config, type])),
|
||||
_FakeBaseConfig_7(
|
||||
this,
|
||||
Invocation.method(#editConfig, [config, type]),
|
||||
),
|
||||
),
|
||||
)
|
||||
as _i13.Future<_i9.BaseConfig>);
|
||||
|
||||
@override
|
||||
_i13.Future<_i9.BaseConfig> addConfig(_i9.BaseConfig? config, _i8.ConfigType? type) =>
|
||||
_i13.Future<_i9.BaseConfig> addConfig(
|
||||
_i9.BaseConfig? config,
|
||||
_i8.ConfigType? type,
|
||||
) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#addConfig, [config, type]),
|
||||
returnValue: _i13.Future<_i9.BaseConfig>.value(
|
||||
_FakeBaseConfig_7(this, Invocation.method(#addConfig, [config, type])),
|
||||
_FakeBaseConfig_7(
|
||||
this,
|
||||
Invocation.method(#addConfig, [config, type]),
|
||||
),
|
||||
),
|
||||
)
|
||||
as _i13.Future<_i9.BaseConfig>);
|
||||
@@ -432,7 +497,11 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i13.Future<void>);
|
||||
|
||||
@override
|
||||
_i13.Future<void> handleConfig(_i8.SlotEntry? entry, num? value, _i8.ConfigType? type) =>
|
||||
_i13.Future<void> handleConfig(
|
||||
_i8.SlotEntry? entry,
|
||||
num? value,
|
||||
_i8.ConfigType? type,
|
||||
) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#handleConfig, [entry, value, type]),
|
||||
returnValue: _i13.Future<void>.value(),
|
||||
@@ -444,16 +513,24 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
_i13.Future<List<_i10.WorkoutSession>> fetchSessionData() =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#fetchSessionData, []),
|
||||
returnValue: _i13.Future<List<_i10.WorkoutSession>>.value(<_i10.WorkoutSession>[]),
|
||||
returnValue: _i13.Future<List<_i10.WorkoutSession>>.value(
|
||||
<_i10.WorkoutSession>[],
|
||||
),
|
||||
)
|
||||
as _i13.Future<List<_i10.WorkoutSession>>);
|
||||
|
||||
@override
|
||||
_i13.Future<_i10.WorkoutSession> addSession(_i10.WorkoutSession? session, int? routineId) =>
|
||||
_i13.Future<_i10.WorkoutSession> addSession(
|
||||
_i10.WorkoutSession? session,
|
||||
int? routineId,
|
||||
) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#addSession, [session, routineId]),
|
||||
returnValue: _i13.Future<_i10.WorkoutSession>.value(
|
||||
_FakeWorkoutSession_8(this, Invocation.method(#addSession, [session, routineId])),
|
||||
_FakeWorkoutSession_8(
|
||||
this,
|
||||
Invocation.method(#addSession, [session, routineId]),
|
||||
),
|
||||
),
|
||||
)
|
||||
as _i13.Future<_i10.WorkoutSession>);
|
||||
@@ -463,7 +540,10 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(#editSession, [session]),
|
||||
returnValue: _i13.Future<_i10.WorkoutSession>.value(
|
||||
_FakeWorkoutSession_8(this, Invocation.method(#editSession, [session])),
|
||||
_FakeWorkoutSession_8(
|
||||
this,
|
||||
Invocation.method(#editSession, [session]),
|
||||
),
|
||||
),
|
||||
)
|
||||
as _i13.Future<_i10.WorkoutSession>);
|
||||
@@ -500,10 +580,14 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
);
|
||||
|
||||
@override
|
||||
void dispose() =>
|
||||
super.noSuchMethod(Invocation.method(#dispose, []), returnValueForMissingStub: null);
|
||||
void dispose() => super.noSuchMethod(
|
||||
Invocation.method(#dispose, []),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
void notifyListeners() =>
|
||||
super.noSuchMethod(Invocation.method(#notifyListeners, []), returnValueForMissingStub: null);
|
||||
void notifyListeners() => super.noSuchMethod(
|
||||
Invocation.method(#notifyListeners, []),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -43,7 +43,6 @@ import 'package:wger/providers/routines.dart' as _i23;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeAuthProvider_0 extends _i1.SmartFake implements _i2.AuthProvider {
|
||||
_FakeAuthProvider_0(Object parent, Invocation parentInvocation) : super(parent, parentInvocation);
|
||||
@@ -155,14 +154,14 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
|
||||
as _i3.Client);
|
||||
|
||||
@override
|
||||
set auth(_i2.AuthProvider? value) => super.noSuchMethod(
|
||||
Invocation.setter(#auth, value),
|
||||
set auth(_i2.AuthProvider? _auth) => super.noSuchMethod(
|
||||
Invocation.setter(#auth, _auth),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
set client(_i3.Client? value) => super.noSuchMethod(
|
||||
Invocation.setter(#client, value),
|
||||
set client(_i3.Client? _client) => super.noSuchMethod(
|
||||
Invocation.setter(#client, _client),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@@ -343,14 +342,14 @@ class MockExercisesProvider extends _i1.Mock implements _i21.ExercisesProvider {
|
||||
as List<_i10.Language>);
|
||||
|
||||
@override
|
||||
set database(_i5.ExerciseDatabase? value) => super.noSuchMethod(
|
||||
Invocation.setter(#database, value),
|
||||
set database(_i5.ExerciseDatabase? _database) => super.noSuchMethod(
|
||||
Invocation.setter(#database, _database),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
set exercises(List<_i6.Exercise>? value) => super.noSuchMethod(
|
||||
Invocation.setter(#exercises, value),
|
||||
set exercises(List<_i6.Exercise>? _exercises) => super.noSuchMethod(
|
||||
Invocation.setter(#exercises, _exercises),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@@ -744,8 +743,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i23.RoutinesProvider {
|
||||
as _i12.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i13.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i13.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ import 'package:wger/providers/base_provider.dart' as _i4;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeAuthProvider_0 extends _i1.SmartFake implements _i2.AuthProvider {
|
||||
_FakeAuthProvider_0(Object parent, Invocation parentInvocation) : super(parent, parentInvocation);
|
||||
@@ -66,14 +65,14 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
|
||||
as _i3.Client);
|
||||
|
||||
@override
|
||||
set auth(_i2.AuthProvider? value) => super.noSuchMethod(
|
||||
Invocation.setter(#auth, value),
|
||||
set auth(_i2.AuthProvider? _auth) => super.noSuchMethod(
|
||||
Invocation.setter(#auth, _auth),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
set client(_i3.Client? value) => super.noSuchMethod(
|
||||
Invocation.setter(#client, value),
|
||||
set client(_i3.Client? _client) => super.noSuchMethod(
|
||||
Invocation.setter(#client, _client),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@ import 'package:wger/providers/exercises.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeAuthProvider_0 extends _i1.SmartFake implements _i2.AuthProvider {
|
||||
_FakeAuthProvider_0(Object parent, Invocation parentInvocation) : super(parent, parentInvocation);
|
||||
@@ -105,14 +104,14 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
|
||||
as _i3.Client);
|
||||
|
||||
@override
|
||||
set auth(_i2.AuthProvider? value) => super.noSuchMethod(
|
||||
Invocation.setter(#auth, value),
|
||||
set auth(_i2.AuthProvider? _auth) => super.noSuchMethod(
|
||||
Invocation.setter(#auth, _auth),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
set client(_i3.Client? value) => super.noSuchMethod(
|
||||
Invocation.setter(#client, value),
|
||||
set client(_i3.Client? _client) => super.noSuchMethod(
|
||||
Invocation.setter(#client, _client),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@@ -293,14 +292,14 @@ class MockExercisesProvider extends _i1.Mock implements _i12.ExercisesProvider {
|
||||
as List<_i10.Language>);
|
||||
|
||||
@override
|
||||
set database(_i5.ExerciseDatabase? value) => super.noSuchMethod(
|
||||
Invocation.setter(#database, value),
|
||||
set database(_i5.ExerciseDatabase? _database) => super.noSuchMethod(
|
||||
Invocation.setter(#database, _database),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
set exercises(List<_i6.Exercise>? value) => super.noSuchMethod(
|
||||
Invocation.setter(#exercises, value),
|
||||
set exercises(List<_i6.Exercise>? _exercises) => super.noSuchMethod(
|
||||
Invocation.setter(#exercises, _exercises),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ import 'package:wger/providers/base_provider.dart' as _i4;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeAuthProvider_0 extends _i1.SmartFake implements _i2.AuthProvider {
|
||||
_FakeAuthProvider_0(Object parent, Invocation parentInvocation) : super(parent, parentInvocation);
|
||||
@@ -66,14 +65,14 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
|
||||
as _i3.Client);
|
||||
|
||||
@override
|
||||
set auth(_i2.AuthProvider? value) => super.noSuchMethod(
|
||||
Invocation.setter(#auth, value),
|
||||
set auth(_i2.AuthProvider? _auth) => super.noSuchMethod(
|
||||
Invocation.setter(#auth, _auth),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
@override
|
||||
set client(_i3.Client? value) => super.noSuchMethod(
|
||||
Invocation.setter(#client, value),
|
||||
set client(_i3.Client? _client) => super.noSuchMethod(
|
||||
Invocation.setter(#client, _client),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ import 'package:wger/providers/routines.dart' as _i12;
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
|
||||
_FakeWgerBaseProvider_0(Object parent, Invocation parentInvocation)
|
||||
@@ -146,8 +145,8 @@ class MockRoutinesProvider extends _i1.Mock implements _i12.RoutinesProvider {
|
||||
as _i4.RepetitionUnit);
|
||||
|
||||
@override
|
||||
set activeRoutine(_i5.Routine? value) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, value),
|
||||
set activeRoutine(_i5.Routine? _activeRoutine) => super.noSuchMethod(
|
||||
Invocation.setter(#activeRoutine, _activeRoutine),
|
||||
returnValueForMissingStub: null,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user