TransactionContract class
- Inheritance
-
- Object
- TronProtocolBufferImpl
- TransactionContract
Constructors
-
TransactionContract({required TransactionContractType type, required Any parameter, List<
int> ? provider, List<int> ? contractName, int? permissionId}) - Create a new TransactionContract instance with specified parameters.
-
TransactionContract.deserialize(List<
int> bytes) -
factory
-
TransactionContract.fromJson(Map<
String, dynamic> json) -
Create a new TransactionContract instance by parsing a JSON map.
factory
Properties
-
contractName
→ List<
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
- parameter → Any
-
final
- permissionId → int?
-
final
-
provider
→ List<
int> ? -
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
- type → TransactionContractType
-
final
- values → List
-
List of dynamic values to be encoded.
no setteroverride
Methods
-
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 TransactionContract object to a JSON representation.
override
-
toString(
) → String -
Convert the TransactionContract object to its string representation.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited