maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult invalidApiKey()?,
  2. TResult noInternetConnection()?,
  3. TResult notFound()?,
  4. TResult unknown()?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function()? invalidApiKey,
  TResult Function()? noInternetConnection,
  TResult Function()? notFound,
  TResult Function()? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;