success property

  1. @override
S success
final

The value if this is a Success or null otherwise.

See Maybe.

Success(2).success; // 2

Failure(2).success; // null

Implementation

@override
final S success;