canParse static method
Implementation
static bool canParse(Object? obj) {
if (obj is! Map<String, dynamic>) {
return false;
}
if ((obj['stackFrames'] is! List ||
(obj['stackFrames'].any((item) => !StackFrame.canParse(item))))) {
return false;
}
if (obj['totalFrames'] is! int?) {
return false;
}
return true;
}