FunctionFragment class

Inheritance

Constructors

FunctionFragment.from(dynamic source)
Creates a new FunctionFragment from any compatible source.
factory

Properties

constant bool
This is whether the function is constant (i.e. does not change state). This is true if the state mutability is pure or view.
no setter
gas BigInt?
This is the gas limit that should be used during deployment. It may be null.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
impl → _FunctionFragmentImpl
Internal JS Object, should not be used directly.
finalinherited
name String?
This is the name of the Event or Function. This will be null for a ConstructorFragment.
no setterinherited
outputs List<ParamType>
A list of the Function output parameters.
no setter
paramType List<ParamType>
This is an array of each ParamType for the input parameters to the Constructor, Event of Function.
no setterinherited
payable bool
This is whether the constructor may receive ether during deployment as an endowment (i.e. msg.value != 0).
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateMutability String
This is the state mutability of the constructor. It can be any of:
no setteroverride
type String
This is a String which indicates the type of the Fragment. This will be one of:
no setterinherited

Methods

format([FormatTypes? type]) String
Creates a String representation of the Fragment using the available type formats.
override
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