or method

Future<T> or(
  1. T fallback
)

Implementation

Future<T> or(T fallback) => then((value) => value ?? fallback);