canParse static method

bool canParse(
  1. Object? obj
)
override

Implementation

static bool canParse(Object? obj) {
  if (obj is! Map<String, dynamic>) {
    return false;
  }
  if (!Breakpoint.canParse(obj['breakpoint'])) {
    return false;
  }
  if (obj['reason'] is! String) {
    return false;
  }
  return EventBody.canParse(obj);
}