CreateInvoice constructor

const CreateInvoice({
  1. required String asset,
  2. required String blockchain,
  3. required String? network,
  4. required double amount,
  5. int? expiresAt,
  6. String? description,
  7. String? metadata,
  8. String? successUrl,
  9. String? cancelUrl,
})

Implementation

const CreateInvoice({
  required this.asset,
  required this.blockchain,
  required this.network,
  required this.amount,
  this.expiresAt,
  this.description,
  this.metadata,
  this.successUrl,
  this.cancelUrl,
});