canParse static method
Implementation
static bool canParse(Object? obj) {
if (obj is! Map<String, dynamic>) {
return false;
}
if (!Module.canParse(obj['module'])) {
return false;
}
if (obj['reason'] is! String) {
return false;
}
return EventBody.canParse(obj);
}