failure property
- @useResult
The value if this is a Failure
or null
otherwise.
See Maybe.
Success(2).failure; // null
Failure(2).failure; // 2
Implementation
@useResult F? get failure;
The value if this is a Failure
or null
otherwise.
See Maybe.
Success(2).failure; // null
Failure(2).failure; // 2
@useResult F? get failure;