exception property Null safety

Exception exception
final

Implementation

static final Exception exception = Exception('Wrong event type');