errorOrNull property
E?
errorOrNull
Returns the error if isOErr
is true, otherwise returns null
Implementation
E? get errorOrNull => isErr ? _error : null;
Returns the error if isOErr
is true, otherwise returns null
E? get errorOrNull => isErr ? _error : null;