fix : splash animation
feat : auth with password chore : app Architecture
This commit is contained in:
17
lib/data/model/user/user_model.dart
Normal file
17
lib/data/model/user/user_model.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
import 'package:hive_ce/hive.dart';
|
||||
|
||||
import '../../data_provider/local_storage/hive/hive_types.dart';
|
||||
|
||||
|
||||
part 'user_model.g.dart';
|
||||
|
||||
@HiveType(typeId: userTypeId)
|
||||
class UserModel extends HiveObject{
|
||||
@HiveField(0)
|
||||
String? token;
|
||||
|
||||
@HiveField(1)
|
||||
String? refreshToken;
|
||||
|
||||
UserModel({this.token, this.refreshToken});
|
||||
}
|
||||
Reference in New Issue
Block a user