exceptionType property

  1. @override
TypeAnnotationImpl? exceptionType
override

Return the type of exceptions caught by this catch clause, or null if this catch clause catches every type of exception.

Implementation

@override
TypeAnnotationImpl? get exceptionType => _exceptionType;
void exceptionType=(TypeAnnotationImpl? exceptionType)

Implementation

set exceptionType(TypeAnnotationImpl? exceptionType) {
  _exceptionType = _becomeParentOf(exceptionType);
}