Line data    Source code 
       1             : import 'package:freezed_annotation/freezed_annotation.dart';
       2             : 
       3             : import '../../types/redux_action.dart';
       4             : import '../../types/typedefs.dart';
       5             : import '../models/problem_info.dart';
       6             : 
       7             : part 'add_problem_action.freezed.dart';
       8             : part 'add_problem_action.g.dart';
       9             : 
      10             : @freezed
      11             : class AddProblemAction with _$AddProblemAction, ReduxAction {
      12           9 :   const AddProblemAction._();
      13             :   const factory AddProblemAction(ProblemInfo info) = _AddProblemAction;
      14             : 
      15           0 :   factory AddProblemAction.fromJson(JsonMap json) =>
      16           0 :       _$AddProblemActionFromJson(json);
      17             : 
      18           0 :   @override
      19             :   String get typeName => 'AddProblemAction';
      20             : }
       |