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