TF-1202: Configure FCM
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:hive/hive.dart';
|
||||
import 'package:tmail_ui_user/features/caching/utils/caching_constants.dart';
|
||||
|
||||
part 'firebase_cache.g.dart';
|
||||
|
||||
@HiveType(typeId: CachingConstants.FIREBASE_CONFIG_CACHE_IDENTITY)
|
||||
class FirebaseCache extends HiveObject with EquatableMixin {
|
||||
|
||||
static const String keyCacheValue = 'firebaseCache';
|
||||
|
||||
@HiveField(0)
|
||||
final String token;
|
||||
|
||||
FirebaseCache(this.token);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [token];
|
||||
}
|
||||
Reference in New Issue
Block a user