maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult invalidApiKey(
    1. _InvalidApiKey value
    )?,
  2. TResult noInternetConnection(
    1. _NoInternetConnection value
    )?,
  3. TResult notFound(
    1. _NotFound value
    )?,
  4. TResult unknown(
    1. _Unknown value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(_InvalidApiKey value)? invalidApiKey,
  TResult Function(_NoInternetConnection value)? noInternetConnection,
  TResult Function(_NotFound value)? notFound,
  TResult Function(_Unknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;