mapOr<U> method
Applies a function to the contained value (if any), or returns the provided default (if not).
Implementation
Future<U> mapOr<U>(U Function(T) op, U opt) =>
then((result) => result.mapOr(op, opt));
Applies a function to the contained value (if any), or returns the provided default (if not).
Future<U> mapOr<U>(U Function(T) op, U opt) =>
then((result) => result.mapOr(op, opt));