CallChainRequest constructor

CallChainRequest({
  1. String? from,
  2. String? currency,
  3. List<int>? data,
  4. WalletType? walletType,
})

Implementation

factory CallChainRequest({
  $core.String? from,
  $core.String? currency,
  $core.List<$core.int>? data,
  WalletType? walletType,
}) {
  final $result = create();
  if (from != null) {
    $result.from = from;
  }
  if (currency != null) {
    $result.currency = currency;
  }
  if (data != null) {
    $result.data = data;
  }
  if (walletType != null) {
    $result.walletType = walletType;
  }
  return $result;
}