get abstract method

  1. @Deprecated('Will be removed in the next version. ' 'Use `tryGetSuccess` or `tryGetError` instead.' 'You may also use `onSuccess` and on `onError` for similar result.')
dynamic get()

Returns the current result.

It may be a Success or an Error. Check with

  result.isSuccess();

or

  result.isError();

before casting the value;

Implementation

@Deprecated('Will be removed in the next version. '
    'Use `tryGetSuccess` or `tryGetError` instead.'
    'You may also use `onSuccess` and on `onError` for similar result.')
dynamic get();