AbiEventFragment class
Represents an event fragment in ABI, providing methods for decoding event data.
- Implemented types
Constructors
-
AbiEventFragment({required String name, List<
AbiParameter> inputs = const [], bool? anonymous}) - Creates an AbiEventFragment instance.
-
AbiEventFragment.fromJson(Map<
String, dynamic> json, bool tronTypes) -
Creates an instance of AbiEventFragment from JSON representation.
factory
Properties
- anonymous → bool?
-
Indicates whether the event is anonymous.
final
- eventName → String
-
Gets the event function name.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputs
→ List<
AbiParameter> -
The list of input parameters for the fragment.
final
- name → String
-
The name of the event fragment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signature
→ List<
int> -
The signature of the event.
latefinal
- type → FragmentTypes
-
The type of the fragment.
final
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited