toNullable method

Future<T?> toNullable()

Implementation

@pragma("vm:prefer-inline")
Future<T?> toNullable() {
  return then((option) => option.toNullable());
}