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
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