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