VoteAssetContract class

Inheritance

Constructors

VoteAssetContract({required TronAddress ownerAddress, required List<TronAddress> voteAddress, bool? support, int? count})
Create a new VoteAssetContract instance with specified parameters.
VoteAssetContract.deserialize(List<int> bytes)
factory
VoteAssetContract.fromJson(Map<String, dynamic> json)
Create a new VoteAssetContract instance by parsing a JSON map.
factory

Properties

contractType TransactionContractType
no setteroverride
count int?
final
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
the owner of contract.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
support bool?
final
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
voteAddress List<TronAddress>
final

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() Map<String, dynamic>
Convert the VoteAssetContract object to a JSON representation.
override
toString() String
Convert the VoteAssetContract object to its string representation.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited