Amount constructor

Amount({
  1. String total = "20",
  2. String currency = "USD",
  3. Details details = const Details(),
})

Implementation

Amount({
  this.total = "20",
  this.currency = "USD",
  this.details = const Details(),
});