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