map<TResult extends Object?> method

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

Implementation

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