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