M4eWalletForm constructor

const M4eWalletForm({@required M4eUniqueId id, @required String label, @required M4eCurrencyType currency, @required M4eWalletType type, @required M4eWalletDetailType detail })

Implementation

const M4eWalletForm({
  @required M4eUniqueId id,
  @required String label,
  @required M4eCurrencyType currency,
  @required M4eWalletType type,
  @required M4eWalletDetailType detail,
})  : assert(id != null, 'M4eWalletForm [id] should not be null'),
      assert(label != null, 'M4eWalletForm [label] should not be null'),
      assert(currency != null, 'M4eWalletForm [currency] should not be null'),
      assert(type != null, 'M4eWalletForm [type] should not be null'),
      assert(detail != null, 'M4eWalletForm [detail] should not be null'),
      this.id = id,
      this.label = label,
      this.currency = currency,
      this.type = type,
      this.detail = detail;