FreezeBalanceContract constructor

FreezeBalanceContract({
  1. String? ownerAddress,
  2. Int64? frozenBalance,
  3. Int64? frozenDuration,
  4. String? resource,
  5. String? receiverAddress,
})

Implementation

factory FreezeBalanceContract({
  $core.String? ownerAddress,
  $fixnum.Int64? frozenBalance,
  $fixnum.Int64? frozenDuration,
  $core.String? resource,
  $core.String? receiverAddress,
}) {
  final _result = create();
  if (ownerAddress != null) {
    _result.ownerAddress = ownerAddress;
  }
  if (frozenBalance != null) {
    _result.frozenBalance = frozenBalance;
  }
  if (frozenDuration != null) {
    _result.frozenDuration = frozenDuration;
  }
  if (resource != null) {
    _result.resource = resource;
  }
  if (receiverAddress != null) {
    _result.receiverAddress = receiverAddress;
  }
  return _result;
}