Upgrade packages deps to major versions #213
| @ -32,8 +32,8 @@ class AuthenticationMockCacheDataSourceImpl<Data> | ||||
|   @override | ||||
|   Future<Account?> getCachedAccount() async { | ||||
|     await Future<void>.delayed(const Duration(milliseconds: 200)); | ||||
|      | ||||
| return null; | ||||
| 
 | ||||
|     return null; | ||||
|   } | ||||
| 
 | ||||
|   @override | ||||
|  | ||||
| @ -53,7 +53,8 @@ class DefaultFirebaseOptions { | ||||
|     messagingSenderId: '100151285458', | ||||
|     projectId: 'wyatt-notification-example', | ||||
|     storageBucket: 'wyatt-notification-example.appspot.com', | ||||
|     iosClientId: '100151285458-a9notq1k1padf0vk9ove8ll3amjgi7mn.apps.googleusercontent.com', | ||||
|     iosClientId: | ||||
|         '100151285458-a9notq1k1padf0vk9ove8ll3amjgi7mn.apps.googleusercontent.com', | ||||
|     iosBundleId: 'com.example.notificationBlocExample', | ||||
|   ); | ||||
| } | ||||
|  | ||||
| @ -22,7 +22,6 @@ import 'package:wyatt_cloud_messaging_bloc_base/src/domain/repositories/cloud_me | ||||
| import 'package:wyatt_type_utils/wyatt_type_utils.dart'; | ||||
| 
 | ||||
| class CloudMessagingRepositoryImpl extends CloudMessagingRepository { | ||||
| 
 | ||||
|   CloudMessagingRepositoryImpl({ | ||||
|     required CloudMessagingRemoteDataSource notificationRemoteDataSource, | ||||
|   }) : _notificationRemoteDataSource = notificationRemoteDataSource; | ||||
|  | ||||
| @ -18,7 +18,6 @@ import 'package:wyatt_architecture/wyatt_architecture.dart'; | ||||
| import 'package:wyatt_cloud_messaging_bloc_base/src/domain/repositories/cloud_messaging_repository.dart'; | ||||
| 
 | ||||
| class GetCloudMessagingTokenUseCase extends AsyncUseCase<void, String?> { | ||||
| 
 | ||||
|   GetCloudMessagingTokenUseCase({ | ||||
|     required CloudMessagingRepository notificationRepository, | ||||
|   }) : _notificationRepository = notificationRepository; | ||||
|  | ||||
| @ -18,7 +18,6 @@ import 'package:wyatt_architecture/wyatt_architecture.dart'; | ||||
| import 'package:wyatt_cloud_messaging_bloc_base/src/domain/repositories/cloud_messaging_repository.dart'; | ||||
| 
 | ||||
| class InitCloudmessagingUseCase extends AsyncUseCase<NoParam, void> { | ||||
| 
 | ||||
|   InitCloudmessagingUseCase({ | ||||
|     required CloudMessagingRepository notificationRepository, | ||||
|   }) : _notificationRepository = notificationRepository; | ||||
|  | ||||
| @ -25,7 +25,6 @@ import 'package:wyatt_type_utils/wyatt_type_utils.dart'; | ||||
| 
 | ||||
| class ListenNotificationUseCase | ||||
|     extends StreamUseCase<NoParam, RemoteNotification> { | ||||
| 
 | ||||
|   ListenNotificationUseCase({ | ||||
|     required CloudMessagingRepository notificationRepository, | ||||
|   }) : _notificationRepository = notificationRepository; | ||||
|  | ||||
| @ -18,7 +18,6 @@ import 'package:wyatt_architecture/wyatt_architecture.dart'; | ||||
| import 'package:wyatt_cloud_messaging_bloc_base/src/domain/repositories/cloud_messaging_repository.dart'; | ||||
| 
 | ||||
| class RequestCloudMessagingPermissionUseCase extends AsyncUseCase<void, void> { | ||||
| 
 | ||||
|   RequestCloudMessagingPermissionUseCase({ | ||||
|     required CloudMessagingRepository notificationRepository, | ||||
|   }) : _notificationRepository = notificationRepository; | ||||
|  | ||||
| @ -20,7 +20,6 @@ import 'package:wyatt_architecture/wyatt_architecture.dart'; | ||||
| import 'package:wyatt_cloud_messaging_bloc_base/src/domain/repositories/cloud_messaging_repository.dart'; | ||||
| 
 | ||||
| class SubscribeToNotificationTopicUseCase extends AsyncUseCase<String, void> { | ||||
| 
 | ||||
|   SubscribeToNotificationTopicUseCase({ | ||||
|     required CloudMessagingRepository notificationRepository, | ||||
|   }) : _notificationRepository = notificationRepository; | ||||
|  | ||||
| @ -21,7 +21,6 @@ import 'package:wyatt_cloud_messaging_bloc_base/src/domain/repositories/cloud_me | ||||
| 
 | ||||
| class UnsubscribeFromNotificationTopicUseCase | ||||
|     extends AsyncUseCase<String, void> { | ||||
| 
 | ||||
|   UnsubscribeFromNotificationTopicUseCase({ | ||||
|     required CloudMessagingRepository notificationRepository, | ||||
|   }) : _notificationRepository = notificationRepository; | ||||
|  | ||||
| @ -17,7 +17,6 @@ | ||||
| part of 'cloud_messaging_cubit.dart'; | ||||
| 
 | ||||
| class CloudmessagingState extends Equatable { | ||||
| 
 | ||||
|   const CloudmessagingState([this.remoteNotification]); | ||||
|   final RemoteNotification? remoteNotification; | ||||
| 
 | ||||
|  | ||||
| @ -33,8 +33,7 @@ class CrudFirestoreDataSourceImpl<Model extends ObjectModel, Entity> | ||||
|     required Model Function( | ||||
|       DocumentSnapshot<Map<String, dynamic>>, | ||||
|       SnapshotOptions?, | ||||
|     ) | ||||
|         fromFirestore, | ||||
|     ) fromFirestore, | ||||
| 
 | ||||
|     /// The function that converts a [Model] to a [Map<String, Object?>]. | ||||
|     required Map<String, Object?> Function(Model, SetOptions?) toFirestore, | ||||
|  | ||||
| @ -26,9 +26,8 @@ class FormDifference extends FormOperation { | ||||
| 
 | ||||
|   @override | ||||
|   WyattForm call(WyattForm a, WyattForm b) { | ||||
|     final inputs = < | ||||
|         FormInput<dynamic, FormInputValidator<dynamic, ValidationError>, | ||||
|             dynamic>>[]; | ||||
|     final inputs = <FormInput<dynamic, | ||||
|         FormInputValidator<dynamic, ValidationError>, dynamic>>[]; | ||||
| 
 | ||||
|     for (final i in a.inputs) { | ||||
|       if (!b.containsKey(i.key)) { | ||||
|  | ||||
| @ -26,9 +26,8 @@ class FormIntersection extends FormOperation { | ||||
| 
 | ||||
|   @override | ||||
|   WyattForm call(WyattForm a, WyattForm b) { | ||||
|     final inputs = < | ||||
|         FormInput<dynamic, FormInputValidator<dynamic, ValidationError>, | ||||
|             dynamic>>[]; | ||||
|     final inputs = <FormInput<dynamic, | ||||
|         FormInputValidator<dynamic, ValidationError>, dynamic>>[]; | ||||
| 
 | ||||
|     for (final i in a.inputs) { | ||||
|       if (b.containsKey(i.key)) { | ||||
|  | ||||
| @ -26,9 +26,8 @@ class FormUnion extends FormOperation { | ||||
| 
 | ||||
|   @override | ||||
|   WyattForm call(WyattForm a, WyattForm b) { | ||||
|     final inputs = < | ||||
|         FormInput<dynamic, FormInputValidator<dynamic, ValidationError>, | ||||
|             dynamic>>[]; | ||||
|     final inputs = <FormInput<dynamic, | ||||
|         FormInputValidator<dynamic, ValidationError>, dynamic>>[]; | ||||
| 
 | ||||
|     for (final i in a.inputs) { | ||||
|       inputs.add(i); | ||||
|  | ||||
| @ -30,7 +30,7 @@ abstract class BottomNavigationBarComponent extends Component | ||||
|     this.items = const <BottomNavigationBarItem>[], | ||||
|     super.key, | ||||
|   }); | ||||
|    | ||||
| 
 | ||||
|   final int currentIndex; | ||||
|   final void Function(BuildContext, int)? onTap; | ||||
|   final List<BottomNavigationBarItem> items; | ||||
|  | ||||
| @ -178,7 +178,8 @@ class CardWrapper extends StatelessWidget { | ||||
|               Theme.of(context) | ||||
|                   .extension<CardThemeExtension>() | ||||
|                   ?.backgroundColors, | ||||
|               CardThemeExtensionDefault.from(Theme.of(context)).backgroundColors, | ||||
|               CardThemeExtensionDefault.from(Theme.of(context)) | ||||
|                   .backgroundColors, | ||||
|             ], | ||||
|             valueValidator: (multiColor) => multiColor?.isGradient, | ||||
|             transform: (multiColor) => | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user