Line data Source code
1 : import 'package:fast_immutable_collections/fast_immutable_collections.dart';
2 : import 'package:freezed_annotation/freezed_annotation.dart';
3 : import 'package:redfire/types.dart';
4 :
5 : part 'set_other_player_ids_action.freezed.dart';
6 : part 'set_other_player_ids_action.g.dart';
7 :
8 : @freezed
9 : class SetOtherPlayerIdsAction with _$SetOtherPlayerIdsAction, ReduxAction {
10 1 : const SetOtherPlayerIdsAction._();
11 : const factory SetOtherPlayerIdsAction(ISet<String> ids) =
12 : _SetOtherPlayerIdsAction;
13 :
14 0 : factory SetOtherPlayerIdsAction.fromJson(Map<String, Object?> json) =>
15 0 : _$SetOtherPlayerIdsActionFromJson(json);
16 :
17 0 : @override
18 : String get typeName => 'SetOtherPlayerIdsAction';
19 : }
|