UniInvoiceModel constructor

UniInvoiceModel({
  1. required String id,
  2. String status = '',
  3. int amount = 0,
  4. String currency = '',
  5. String description = '',
  6. String logoUrl = '',
  7. String amountFormat = '',
  8. String url = '',
  9. String callbackUrl = '',
  10. String expiredAt = '',
  11. String createdAt = '',
  12. String updatedAt = '',
  13. String backUrl = '',
  14. String successUrl = '',
  15. Map<String, dynamic> metadata = const {},
})

Implementation

UniInvoiceModel({
  required this.id,
  this.status = '',
  this.amount = 0,
  this.currency = '',
  this.description = '',
  this.logoUrl = '',
  this.amountFormat = '',
  this.url = '',
  this.callbackUrl = '',
  this.expiredAt = '',
  this.createdAt = '',
  this.updatedAt = '',
  this.backUrl = '',
  this.successUrl = '',
  this.metadata = const {},
});