AbiFallbackFragment class

Represents a fallback function fragment in ABI, providing methods for working with fallback functions.

Implemented types

Constructors

AbiFallbackFragment({required StateMutability stateMutability, List<AbiParameter> inputs = const [], List<AbiParameter> outputs = const [], bool? constant, bool? payable})
Creates an AbiFallbackFragment instance.
const
AbiFallbackFragment.fromJson(Map<String, dynamic> json, bool tronTypes)
Creates an instance of AbiFallbackFragment from JSON representation.
factory

Properties

constant bool?
Indicates whether the fallback function is constant.
final
hashCode int
The hash code for this object.
no setterinherited
inputs List<AbiParameter>
The list of input parameters for the fragment.
final
outputs List<AbiParameter>
The list of output parameters for the fallback function.
final
payable bool?
Indicates whether the fallback function is payable.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateMutability StateMutability
The state mutability of the fallback function.
final
type FragmentTypes
The type of the fragment.
final

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