M4eAmount constructor

const M4eAmount({@required double value, @required M4eCurrencyType currency })

Implementation

const M4eAmount({@required double value, @required M4eCurrencyType currency})
    : assert(value != null, 'M4eAmount [value] should not be null'),
      assert(currency != null, 'M4eAmount [currency] should not be null'),
      this.value = value,
      this.currency = currency;