2377225520
(cherry picked from commit 2f570681d32b5b234f60f9e4d7f13e69a5bb2b31)
21 lines
493 B
Dart
21 lines
493 B
Dart
import 'package:equatable/equatable.dart';
|
|
import 'package:hive/hive.dart';
|
|
import 'package:tmail_ui_user/features/caching/utils/caching_constants.dart';
|
|
|
|
part 'session_hive_obj.g.dart';
|
|
|
|
@HiveType(typeId: CachingConstants.typeIdSessionHiveObj)
|
|
class SessionHiveObj extends HiveObject with EquatableMixin {
|
|
|
|
static const String keyValue = 'session';
|
|
|
|
@HiveField(0)
|
|
final String value;
|
|
|
|
SessionHiveObj({
|
|
required this.value
|
|
});
|
|
|
|
@override
|
|
List<Object?> get props => [value];
|
|
} |