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