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