mapOrNull<TResult extends Object?> method

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

Implementation

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