asError property

AsyncError<T>? get asError

Implementation

AsyncError<T>? get asError =>
    this is AsyncError<T> ? this as AsyncError<T> : null;