kind property

AlertKind get kind

overflow for a RenderFlex or RenderBox overflow, uncaught for an error nothing caught, else error.

Implementation

AlertKind get kind {
  if (OverflowInfo.parse(summary) != null) return AlertKind.overflow;
  return library == 'uncaught' ? AlertKind.uncaught : AlertKind.error;
}