fromJson static method
Implementation
static AssingVariableFromVariable fromJson(Map<String, dynamic> json) {
return AssingVariableFromVariable(
id: json['id'],
cubitID: json['cubit_id'],
stateID: json['state_id'],
variableID: json['variable_id'],
assingFromType: AssignVariableActionTypes.valueFromVariable,
jsonKey: json['json_key'],
assigningVariableID: json['assigning_variable_id'],
assigningCubitID: json['assigning_cubit_id'],
assigningStateID: json['assigning_state_id'],
targetIndex: json['target_index'],
formatOptions: json['format_options'] != null
? FormatOptionsHelper.fromJson(json['format_options'])
: const FormatOptionsHelper(options: []),
);
}