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