maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult paymentMode(
    1. _PaymentMode value
    )?,
  2. TResult setupMode(
    1. _SetupMode value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(_PaymentMode value)? paymentMode,
  TResult Function(_SetupMode value)? setupMode,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;