canParse static method
Implementation
static bool canParse(Object? obj) {
if (obj is! Map<String, dynamic>) {
return false;
}
if ((obj['areas'] is! List ||
(obj['areas'].any((item) => item is! InvalidatedAreas)))) {
return false;
}
if (obj['stackFrameId'] is! int?) {
return false;
}
if (obj['threadId'] is! int?) {
return false;
}
return EventBody.canParse(obj);
}