DelegateResourceContract constructor

DelegateResourceContract({
  1. required TronAddress ownerAddress,
  2. required BigInt balance,
  3. required TronAddress receiverAddress,
  4. bool? lock,
  5. ResourceCode? resource,
  6. BigInt? lockPeriod,
})

Create a new DelegateResourceContract instance with specified parameters.

Implementation

DelegateResourceContract(
    {required this.ownerAddress,
    required this.balance,
    required this.receiverAddress,
    this.lock,
    this.resource,
    this.lockPeriod});