getOrElseDo<T> method

Future<T> getOrElseDo<T>(
  1. T fallback()
)

Implementation

Future<T> getOrElseDo<T>(T Function() fallback) =>
    fold(() => fallback(), (some) => some! as T);