TronKey class

Inheritance

Constructors

TronKey({required TronAddress address, required BigInt weight})
Create a new TronKey instance with specified parameters.
TronKey.deserialize(List<int> bytes)
factory
TronKey.fromJson(Map<String, dynamic> json)
Create a new TronKey instance by parsing a JSON map.
factory

Properties

address TronAddress
Signer
final
fieldIds List<int>
List of field IDs corresponding to the values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
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
values List
List of dynamic values to be encoded.
no setteroverride
weight BigInt
Weight
final

Methods

copyWith({TronAddress? address, BigInt? weight}) TronKey
Create a new TronKey instance by copying the existing one and replacing specified fields with new values.
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 TronKey object to a JSON representation.
override
toString() String
Convert the TronKey object to its string representation.
override

Operators

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