Money constructor

const Money(
  1. String currency,
  2. double amount
)

Implementation

const Money(this.currency, this.amount)
    : assert(currency != null),
      assert(amount != null);