Line data Source code
1 : import 'package:fast_immutable_collections/fast_immutable_collections.dart';
2 : import 'package:freezed_annotation/freezed_annotation.dart';
3 :
4 : import '../../../types.dart';
5 :
6 : part 'email_auth_v_m.freezed.dart';
7 : part 'email_auth_v_m.g.dart';
8 :
9 : @freezed
10 : class EmailAuthVM with _$EmailAuthVM, ReduxState {
11 : static const String className = 'EmailAuthVM';
12 :
13 20 : const EmailAuthVM._();
14 : factory EmailAuthVM({
15 : String? email,
16 : ISet<ProvidersEnum>? providers,
17 : }) = _EmailAuthVM;
18 :
19 2 : factory EmailAuthVM.fromJson(JsonMap json) => _$EmailAuthVMFromJson(json);
20 :
21 0 : @override
22 : String get typeName => className;
23 : }
|