FunctionWrapper<S, A> class

Wraps a function func of type S Function(A) so it can be called as an instance method.

Constructors

FunctionWrapper(S func(A))

Properties

func → S Function(A)
Function to be wrapped.
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

call(A a) → S
Allows the wrapped function to be called as an instance method.
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