canParse static method
Implementation
static bool canParse(Object? obj) {
if (obj is! Map<String, dynamic>) {
return false;
}
if (obj['seq'] is! int) {
return false;
}
if (obj['type'] is! String) {
return false;
}
return true;
}