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