PaymentSheetAppearance constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentSheetAppearance({
  1. PaymentSheetAppearanceColors? colors,
  2. PaymentSheetShape? shapes,
  3. PaymentSheetPrimaryButtonAppearance? primaryButton,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentSheetAppearance({
  /// Color parameters
  PaymentSheetAppearanceColors? colors,

  /// Shapes parameters
  PaymentSheetShape? shapes,

  /// PaymentSheet appearance
  PaymentSheetPrimaryButtonAppearance? primaryButton,
}) = _PaymentSheetAppearance;