LocalContractFunction class
An Object that represents a contract function generated from an ABI Used for Encoding a datafield and after executing decoding the output
- Inheritance
-
- Object
- ContractFunction
- LocalContractFunction
- Implemented types
Constructors
-
LocalContractFunction({required String name, required List<
FunctionParam> parameters, required StateMutability stateMutability, required List<FunctionParam> outputTypes}) -
const
Properties
- function → String
-
no setterinherited
- functionSelector → Uint8List
-
no setterinherited
- functionSelectorHex → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExternal → bool
-
no setterinherited
- isLocal → bool
-
no setterinherited
- name → String
-
finalinherited
-
outputTypes
→ List<
FunctionParam> -
final
-
parameters
→ List<
FunctionParam> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stateMutability → StateMutability
-
final
Methods
-
addValues(
{required List values}) → LocalContractFunctionWithValues -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited