map<TResult extends Object?> method

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

Implementation

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