toFutureOption method

Future<Option<T>> toFutureOption()

Converts a Future<T?> to Future<Option

Implementation

Future<Option<T>> toFutureOption() {
  return this as Future<Option<T>>;
}