Line data Source code
1 : import 'package:freezed_annotation/freezed_annotation.dart';
2 :
3 : import '../../../../types.dart';
4 :
5 : part 'sign_in_with_email_action.freezed.dart';
6 : part 'sign_in_with_email_action.g.dart';
7 :
8 : @freezed
9 : class SignInWithEmailAction with _$SignInWithEmailAction, ReduxAction {
10 0 : const SignInWithEmailAction._();
11 : const factory SignInWithEmailAction(String password) = _SignInWithEmailAction;
12 :
13 0 : factory SignInWithEmailAction.fromJson(JsonMap json) =>
14 0 : _$SignInWithEmailActionFromJson(json);
15 :
16 0 : @override
17 : String get typeName => 'SignInWithEmailAction';
18 : }
|