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