Create constructor

Create({
  1. String? accountReference,
  2. required AccountType accountType,
  3. Affiliate? affiliate,
  4. required Address billingAddress,
  5. BillingOptions? billingOptions,
  6. BrandCode? brandCode,
  7. Business? business,
  8. Deposit? deposit,
  9. List<ElectricityMeterPoint>? electricityMeterPoints,
  10. List<GasMeterPoint>? gasMeterPoints,
  11. required bool isChangeOfTenancy,
  12. List<Metadata>? metadata,
  13. Payment? payment,
  14. DateTime? preferredSsd,
  15. Address? previousBillingAddress,
  16. String? promoRewardCode,
  17. String? quoteCode,
  18. String? quoteRequestCode,
  19. required String reference,
  20. String? referralCode,
  21. bool? requiresPostalComms,
  22. SalesChannel? salesChannel,
  23. String? salesSubchannel,
  24. String? signupRewardCode,
  25. SmartMeterInterest? smartMeterInterest,
  26. SmartMeterReadPermission? smartMeterReadPermission,
  27. SmartOnboardingProductType? smartOnboardingProductType,
  28. DateTime? soldAt,
  29. required AccountSource source,
  30. required List<User> users,
})

Implementation

Create({
  this.accountReference,
  required this.accountType,
  this.affiliate,
  required this.billingAddress,
  this.billingOptions,
  this.brandCode,
  this.business,
  this.deposit,
  this.electricityMeterPoints,
  this.gasMeterPoints,
  required this.isChangeOfTenancy,
  this.metadata,
  this.payment,
  this.preferredSsd,
  this.previousBillingAddress,
  this.promoRewardCode,
  this.quoteCode,
  this.quoteRequestCode,
  required this.reference,
  this.referralCode,
  this.requiresPostalComms,
  this.salesChannel,
  this.salesSubchannel,
  this.signupRewardCode,
  this.smartMeterInterest,
  this.smartMeterReadPermission,
  this.smartOnboardingProductType,
  this.soldAt,
  required this.source,
  required this.users,
});