mapOrElse<U> method

U mapOrElse<U>(
  1. U defaultFn(),
  2. U f(
    1. void
    )
)

Implementation

@pragma("vm:prefer-inline")
U mapOrElse<U>(U Function() defaultFn, U Function(void) f) {
  return defaultFn();
}