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