feat : Modèle avec sérialisation automatique
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Mocks generated by Mockito 5.4.4 from annotations
|
||||
// Mocks generated by Mockito 5.4.6 from annotations
|
||||
// in bahla_front/test/helpers/test_helpers.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
@@ -19,10 +19,12 @@ import 'package:stacked_services/stacked_services.dart' as _i2;
|
||||
// ignore_for_file: deprecated_member_use_from_same_package
|
||||
// ignore_for_file: implementation_imports
|
||||
// ignore_for_file: invalid_use_of_visible_for_testing_member
|
||||
// ignore_for_file: must_be_immutable
|
||||
// ignore_for_file: prefer_const_constructors
|
||||
// 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
|
||||
|
||||
/// A class which mocks [NavigationService].
|
||||
///
|
||||
@@ -95,7 +97,7 @@ class MockNavigationService extends _i1.Mock implements _i2.NavigationService {
|
||||
_i5.Future<T?>? navigateWithTransition<T>(
|
||||
_i4.Widget? page, {
|
||||
bool? opaque,
|
||||
String? transition = r'',
|
||||
String? transition = '',
|
||||
Duration? duration,
|
||||
bool? popGesture,
|
||||
int? id,
|
||||
@@ -131,7 +133,7 @@ class MockNavigationService extends _i1.Mock implements _i2.NavigationService {
|
||||
_i5.Future<T?>? replaceWithTransition<T>(
|
||||
_i4.Widget? page, {
|
||||
bool? opaque,
|
||||
String? transition = r'',
|
||||
String? transition = '',
|
||||
Duration? duration,
|
||||
bool? popGesture,
|
||||
int? id,
|
||||
@@ -404,7 +406,7 @@ class MockBottomSheetService extends _i1.Mock
|
||||
_i5.Future<_i2.SheetResponse<dynamic>?> showBottomSheet({
|
||||
required String? title,
|
||||
String? description,
|
||||
String? confirmButtonTitle = r'Ok',
|
||||
String? confirmButtonTitle = 'Ok',
|
||||
String? cancelButtonTitle,
|
||||
bool? enableDrag = true,
|
||||
bool? barrierDismissible = true,
|
||||
@@ -457,7 +459,7 @@ class MockBottomSheetService extends _i1.Mock
|
||||
double? elevation = 1.0,
|
||||
bool? barrierDismissible = true,
|
||||
bool? isScrollControlled = false,
|
||||
String? barrierLabel = r'',
|
||||
String? barrierLabel = '',
|
||||
dynamic customData,
|
||||
R? data,
|
||||
bool? enableDrag = true,
|
||||
@@ -554,9 +556,11 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
|
||||
String? description,
|
||||
String? cancelTitle,
|
||||
_i6.Color? cancelTitleColor,
|
||||
String? buttonTitle = r'Ok',
|
||||
String? buttonTitle = 'Ok',
|
||||
_i6.Color? buttonTitleColor,
|
||||
bool? barrierDismissible = false,
|
||||
_i4.RouteSettings? routeSettings,
|
||||
_i4.GlobalKey<_i4.NavigatorState>? navigatorKey,
|
||||
_i2.DialogPlatform? dialogPlatform,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
@@ -571,6 +575,8 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
|
||||
#buttonTitle: buttonTitle,
|
||||
#buttonTitleColor: buttonTitleColor,
|
||||
#barrierDismissible: barrierDismissible,
|
||||
#routeSettings: routeSettings,
|
||||
#navigatorKey: navigatorKey,
|
||||
#dialogPlatform: dialogPlatform,
|
||||
},
|
||||
),
|
||||
@@ -595,8 +601,11 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
|
||||
bool? takesInput = false,
|
||||
_i6.Color? barrierColor = const _i6.Color(2315255808),
|
||||
bool? barrierDismissible = false,
|
||||
String? barrierLabel = r'',
|
||||
String? barrierLabel = '',
|
||||
bool? useSafeArea = true,
|
||||
_i4.RouteSettings? routeSettings,
|
||||
_i4.GlobalKey<_i4.NavigatorState>? navigatorKey,
|
||||
_i4.RouteTransitionsBuilder? transitionBuilder,
|
||||
dynamic customData,
|
||||
R? data,
|
||||
}) =>
|
||||
@@ -621,6 +630,9 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
|
||||
#barrierDismissible: barrierDismissible,
|
||||
#barrierLabel: barrierLabel,
|
||||
#useSafeArea: useSafeArea,
|
||||
#routeSettings: routeSettings,
|
||||
#navigatorKey: navigatorKey,
|
||||
#transitionBuilder: transitionBuilder,
|
||||
#customData: customData,
|
||||
#data: data,
|
||||
},
|
||||
@@ -633,11 +645,12 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
|
||||
_i5.Future<_i2.DialogResponse<dynamic>?> showConfirmationDialog({
|
||||
String? title,
|
||||
String? description,
|
||||
String? cancelTitle = r'Cancel',
|
||||
String? cancelTitle = 'Cancel',
|
||||
_i6.Color? cancelTitleColor,
|
||||
String? confirmationTitle = r'Ok',
|
||||
String? confirmationTitle = 'Ok',
|
||||
_i6.Color? confirmationTitleColor,
|
||||
bool? barrierDismissible = false,
|
||||
_i4.RouteSettings? routeSettings,
|
||||
_i2.DialogPlatform? dialogPlatform,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
@@ -652,6 +665,7 @@ class MockDialogService extends _i1.Mock implements _i2.DialogService {
|
||||
#confirmationTitle: confirmationTitle,
|
||||
#confirmationTitleColor: confirmationTitleColor,
|
||||
#barrierDismissible: barrierDismissible,
|
||||
#routeSettings: routeSettings,
|
||||
#dialogPlatform: dialogPlatform,
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user