unbox method

FutureOr<T?> unbox()

Unboxes a Future/FutureOr

Implementation

FutureOr<T?> unbox() {
  if (this == null) return null;

  return this as FutureOr<T>;
}