MoveFunction class abstract

Move function

Properties:

  • name
  • visibility
  • isEntry - Whether the function can be called as an entry function directly in a transaction
  • isView - Whether the function is a view function or not
  • genericTypeParams - Generic type params associated with the Move function
  • params - Parameters associated with the move function
  • return_ - Return type of the function
Annotations
  • @BuiltValue()

Constructors

MoveFunction([void updates(MoveFunctionBuilder b)])
factory

Properties

genericTypeParams → BuiltList<MoveFunctionGenericTypeParam>
Generic type params associated with the Move function
no setter
hashCode int
The hash code for this object.
no setterinherited
isEntry bool
Whether the function can be called as an entry function directly in a transaction
no setter
isView bool
Whether the function is a view function or not
no setter
name String
no setter
params → BuiltList<String>
Parameters associated with the move function
no setter
return_ → BuiltList<String>
Return type of the function
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visibility MoveFunctionVisibility
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(MoveFunctionBuilder)) MoveFunction
Rebuilds the instance.
inherited
toBuilder() MoveFunctionBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<MoveFunction>
no setter