Flutter
async
Result
<
T
>
asError property
asError
asError
property
Null safety
ErrorResult
?
asError
If this is an error result, returns itself.
Otherwise returns
null
.
Implementation
ErrorResult? get asError;
Flutter
async
Result
<
T
>
asError property
Result class
Constructors
Result
error
value
Properties
asError
asFuture
asValue
hashCode
isError
isValue
runtimeType
Methods
addTo
complete
noSuchMethod
toString
Operators
operator ==
Static methods
capture
captureAll
captureSink
captureStream
flatten
flattenAll
release
releaseSink
releaseStream
Constants
captureSinkTransformer
captureStreamTransformer
releaseSinkTransformer
releaseStreamTransformer