forked from eatvio/eatvio_app
feat: webview registration
This commit is contained in:
14
lib/features/auth/models/token_model.dart
Normal file
14
lib/features/auth/models/token_model.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'token_model.freezed.dart';
|
||||
|
||||
part 'token_model.g.dart';
|
||||
|
||||
@freezed
|
||||
class TokenModel with _$TokenModel {
|
||||
const factory TokenModel({
|
||||
required String token,
|
||||
}) = _TokenModel;
|
||||
|
||||
factory TokenModel.fromJson(Map<String, Object?> json) => _$TokenModelFromJson(json);
|
||||
}
|
||||
Reference in New Issue
Block a user