SmartContractAbiEntryType class

Enum representing different types of entries in a smart contract's ABI (Application Binary Interface).

Each entry type has a unique value associated with it and a name for identification. The available entry types are:

  • unknownEntryType: Represents an unknown entry type with a value of 0 and an empty name.
  • constructor: Represents a constructor entry type with a value of 1 and the name "Constructor".
  • function: Represents a function entry type with a value of 2 and the name "Function".
  • event: Represents an event entry type with a value of 3 and the name "Event".
  • fallback: Represents a fallback entry type with a value of 4 and the name "Fallback".
  • receive: Represents a receive entry type with a value of 5 and the name "Receive".
  • error: Represents an error entry type with a value of 6 and the name "Error".
Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name associated with the ABI entry type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The unique value associated with each enumeration instance.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromName(String name) SmartContractAbiEntryType
Returns the SmartContractAbiEntryType associated with the given name.
fromValue(int? value, {SmartContractAbiEntryType? orElese}) SmartContractAbiEntryType

Constants

constructor → const SmartContractAbiEntryType
Represents a constructor entry type.
error → const SmartContractAbiEntryType
Represents an error entry type.
event → const SmartContractAbiEntryType
Represents an event entry type.
fallback → const SmartContractAbiEntryType
Represents a fallback entry type.
function → const SmartContractAbiEntryType
Represents a function entry type.
receive → const SmartContractAbiEntryType
Represents a receive entry type.
unknownEntryType → const SmartContractAbiEntryType
Represents an unknown entry type.
values → const List<SmartContractAbiEntryType>
List of all available ABI entry types.