WalletInfo constructor

WalletInfo({@required String label, @required String currency, WalletType type: WalletType.bascule })

Implementation

factory WalletInfo({
  @required String label,
  @required String currency,
  WalletType type = WalletType.bascule,
}) {
  assert(label != null, 'WalletInfo [label] should not be null');
  assert(currency != null, 'WalletInfo [currency] should not be null');
  assert(type != null, 'WalletInfo [type] should not be null');
  return WalletInfo._(label, currency, type);
}