ApplePayShippingMethod constructor

  1. @JsonSerializable(explicitToJson: true)
const ApplePayShippingMethod({
  1. required String label,
  2. required String amount,
  3. required String identifier,
  4. ApplePayShippingMethodType? type,
  5. String? detail,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory ApplePayShippingMethod({
  required String label,
  required String amount,
  required String identifier,
  ApplePayShippingMethodType? type,
  String? detail,
}) = _ApplePayShippingMethod;