TokenAmount constructor

TokenAmount({
  1. String? policyId,
  2. String? assetName,
  3. List<int>? amount,
})

Implementation

factory TokenAmount({
  $core.String? policyId,
  $core.String? assetName,
  $core.List<$core.int>? amount,
}) {
  final _result = create();
  if (policyId != null) {
    _result.policyId = policyId;
  }
  if (assetName != null) {
    _result.assetName = assetName;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}