isOk method

Future<bool> isOk()

Returns true if the option is a Ok value.

Implementation

Future<bool> isOk() => then((result) => result.isOk());