CustomizationModel constructor

const CustomizationModel({
  1. String borderColor = "#000000",
  2. String backgroundColor = "#004C64",
  3. String buttonColor = "#0084A0",
  4. bool confetti = false,
  5. List<PayChannel> paymentMethod = const [PayChannel.account, PayChannel.card, PayChannel.transfer, PayChannel.ussd, PayChannel.momo],
})

Implementation

const CustomizationModel(
    {this.borderColor = "#000000",
    this.backgroundColor = "#004C64",
    this.buttonColor = "#0084A0",
    this.logo = "logo_url || base64",
    this.confetti = false,
    this.paymentMethod = const [
      PayChannel.account,
      PayChannel.card,
      PayChannel.transfer,
      PayChannel.ussd,
      PayChannel.momo
    ]});