canParse static method
Implementation
static bool canParse(Object? obj) {
if (obj is! Map<String, dynamic>) {
return false;
}
if (obj['address'] is! String) {
return false;
}
if (obj['column'] is! int?) {
return false;
}
if (obj['endColumn'] is! int?) {
return false;
}
if (obj['endLine'] is! int?) {
return false;
}
if (obj['instruction'] is! String) {
return false;
}
if (obj['instructionBytes'] is! String?) {
return false;
}
if (obj['line'] is! int?) {
return false;
}
if (!Source.canParse(obj['location'])) {
return false;
}
if (obj['presentationHint'] is! String?) {
return false;
}
if (obj['symbol'] is! String?) {
return false;
}
return true;
}