fromJson static method
Implementation
static APIRequestAction fromJson(
Map<String, dynamic> json, ActionMapper mapper) {
if (json['type'] == 'execute') {
return ExecuteAPIRequestAction.fromJson(json, mapper);
}
throw Exception('Unknown action type');
}