Method Definition
@Serializable
A data class representing a method definition in a Wrap ABI.
Constructors
Link copied to clipboard
constructor(type: String, kind: Int, name: String? = null, required: Boolean? = false, comment: String? = null, arguments: List<PropertyDefinition>? = null, env: MethodDefinition.EnvRequired? = null, _return: PropertyDefinition? = null)
Types
Properties
Link copied to clipboard
An optional PropertyDefinition object representing the return value of the method.
Link copied to clipboard
A list of PropertyDefinition objects representing the arguments of the method.
Link copied to clipboard
An optional EnvRequired object representing the environment required for the method.