fromJson static method

ConditionParameterCubitVariable fromJson(
  1. Map<String, dynamic> json
)
override

Implementation

static ConditionParameterCubitVariable fromJson(Map<String, dynamic> json) =>
    ConditionParameterCubitVariable(
      cubitID: json['cubit_id'],
      stateID: json['state_id'],
      variableID: json['variable_id'],
      listIndex: json['list_index'],
      formatOptionsHelper: json['format_options'] != null
          ? FormatOptionsHelper.fromJson(
              json['format_options'],
            )
          : const FormatOptionsHelper(options: []),
    );