maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult invalidShippingField(
- InvalidShippingField field,
- String? message
- TResult unserviceableShippingAddress(
- String? message
- TResult invalidCouponCode(
- String? message
- TResult expiredCouponCode(
- String? message
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(InvalidShippingField field, String? message)?
invalidShippingField,
TResult Function(String? message)? unserviceableShippingAddress,
TResult Function(String? message)? invalidCouponCode,
TResult Function(String? message)? expiredCouponCode,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;