maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult loading(
    1. FutureLoading value
    )?,
  2. TResult refreshing(
    1. FutureRefreshing value
    )?,
  3. TResult value(
    1. FutureValue value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(FutureLoading<T> value)? loading,
  TResult Function(FutureRefreshing<T> value)? refreshing,
  TResult Function(FutureValue<T> value)? value,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;