FragmentTypes class
Enum class representing different types of ABI fragments, such as constructor, event, function, fallback, and error.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromName(
String? name) → FragmentTypes - Retrieves a FragmentTypes instance based on its name (case-insensitive).
Constants
- constructor → const FragmentTypes
- Constructor fragment type.
- error → const FragmentTypes
- Error fragment type.
- event → const FragmentTypes
- Event fragment type.
- fallback → const FragmentTypes
- Fallback fragment type.
- function → const FragmentTypes
- Function fragment type.
- receive → const FragmentTypes
-
values
→ const List<
FragmentTypes> - List of all possible fragment types.