PaymentSheetPaymentOption constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentSheetPaymentOption({
  1. required String label,
  2. String? image,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentSheetPaymentOption({
  /// The label of the payment option
  required String label,

  /// String decoding of the image
  String? image,
}) = _PaymentSheetPaymentOption;