BillsPaymentWidget constructor

const BillsPaymentWidget({
  1. Key? key,
  2. required String? authToken,
  3. required String? platform,
  4. required String? tenantId,
  5. required String? bannerImage,
  6. required double? accountBalance,
  7. String? baseUrl,
  8. bool? isAirtime,
  9. bool? isElectricity,
  10. bool? isTv,
  11. bool? isData,
  12. bool? isUserHasAccount,
  13. String? accountName,
  14. String? accountNumber,
  15. required String? notificationType,
  16. required String? deviceId,
})

Implementation

const BillsPaymentWidget({
  Key? key,
  required this.authToken,
  required this.platform,
  required this.tenantId,
  required this.bannerImage,
  required this.accountBalance,
  this.baseUrl,
  bool? isAirtime,
  bool? isElectricity,
  bool? isTv,
  bool? isData,
  bool? isUserHasAccount,
  this.accountName,
  this.accountNumber,
  required this.notificationType,
  required this.deviceId,
})  : this.isAirtime = isAirtime ?? false,
      this.isElectricity = isElectricity ?? false,
      this.isTv = isTv ?? false,
      this.isData = isData ?? false,
      this.isUserHasAccount = isUserHasAccount ?? false,
      super(key: key);