maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult ok(
    1. SuccessfulPandoraApiResponse value
    )?,
  2. TResult fail(
    1. PandoraApiException value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(SuccessfulPandoraApiResponse value)? ok,
  TResult Function(PandoraApiException value)? fail,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;