fromJson static method
Implementation
static UIStateAction fromJson(Map<String, dynamic> json) {
if (json['type'] == 'assign_ui_state') {
return AssignUIStateAction.fromJson(json);
}
throw Exception('Unknown action type');
}
static UIStateAction fromJson(Map<String, dynamic> json) {
if (json['type'] == 'assign_ui_state') {
return AssignUIStateAction.fromJson(json);
}
throw Exception('Unknown action type');
}