asError property Null safety
override
If this is an error result, returns itself.
Otherwise returns null
.
Implementation
@override
ErrorResult get asError => this;
If this is an error result, returns itself.
Otherwise returns null
.
@override
ErrorResult get asError => this;