SwiftFunction class

Metadata to annotate methods to control the signature used for Swift output.

The number of components in the provided signature must match the number of arguments in the annotated method. For example: @SwiftFunction('divide(_:by:)') double divide(int x, String y);

Constructors

SwiftFunction(String value)
Constructor.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The string representation of the function signature.
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