UnDelegateResourceContract class
Cancel the delegation of bandwidth or energy resources to other accounts in Stake2.0
- Inheritance
- 
    - Object
- TronProtocolBufferImpl
- TronBaseContract
- UnDelegateResourceContract
 
Constructors
- UnDelegateResourceContract({required TronAddress ownerAddress, required BigInt balance, required TronAddress receiverAddress, ResourceCode? resource})
- Create a new UnDelegateResourceContract instance with specified parameters.
- 
          UnDelegateResourceContract.deserialize(List<int> bytes)
- 
          
            factory
- 
          UnDelegateResourceContract.fromJson(Map<String, dynamic> json)
- 
          Create a new UnDelegateResourceContract instance by parsing a JSON map.
            factory
Properties
- balance → BigInt
- 
  The number of canceled delegate resource shares, the unit is sun
  final
- contractType → TransactionContractType
- 
  
  no setteroverride
- 
  fieldIds
  → List<int> 
- 
  List of field IDs corresponding to the values.
  no setteroverride
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- ownerAddress → TronAddress
- 
  Account address
  final
- receiverAddress → TronAddress
- 
  Resource receiving address
  final
- resource → ResourceCode?
- 
  Resource type
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- toHex → String
- 
  Gets the hexadecimal representation of the protocol buffer data.
  no setterinherited
- trxAmount → BigInt
- 
  the trx amount of contract;
if contract need any trx amount for spending, stack, freez or ....
  no setterinherited
- typeURL → String
- 
  
  no setterinherited
- values → List
- 
  List of dynamic values to be encoded.
  no setteroverride
Methods
- 
  cast<T extends TronBaseContract> () → T 
- 
  
  inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toBuffer() → List< int> 
- 
  Converts the protocol buffer data to a byte buffer.
  inherited
- 
  toJson({bool visible = true}) → Map< String, dynamic> 
- 
  Convert the UnDelegateResourceContract object to a JSON representation.
  override
- 
  toString() → String 
- 
  Convert the UnDelegateResourceContract object to its string representation.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited