fromJson static method
Implementation
static VariablesAction fromJson(Map<String, dynamic> json) {
if (json['type'] == 'assign_variable') {
return AssignVariableAction.fromJson(json);
}
throw Exception(
'VariablesAction, Unknown action type, type: ${json['type']}');
}