hasError property Null safety

bool hasError
override

Returns true when error is available.

Implementation

@override
bool get hasError => _wrapper.errorAndStackTrace != null;