M4eAmount constructor

M4eAmount({@required double value, @required String currency })

Implementation

factory M4eAmount({@required double value, @required String currency}) {
  assert(value != null, 'M4eAmount [value] should not be null');
  assert(currency != null, 'M4eAmount [currency] should not be null');
  return M4eAmount._(value, currency);
}