fromJson static method

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

Implementation

static AssingVariableFromElement fromJson(Map<String, dynamic> json) {
  return AssingVariableFromElement(
    id: json['id'],
    cubitID: json['cubit_id'],
    stateID: json['state_id'],
    variableID: json['variable_id'],
    assingFromType: AssignVariableActionTypes.valueFromElement,
    jsonKey: json['json_key'],
    targetIndex: json['target_index'],
  );
}