The base class for all function types.

A function value, or an instance of a class with a "call" method, is a subtype of a function type, and as such, a subtype of Function.

Implemented by

Static Methods

apply(Function function, positionalArguments, [Map<Symbol, dynamic> namedArguments]) → dynamic

Dynamically call function with the specified arguments.

Constructors

Function()

Properties

hashCode int

Returns a hash code value that is compatible with operator==.

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(Object other) bool

Test whether another object is equal to this function.

Methods

noSuchMethod(Invocation invocation) → dynamic

noSuchMethod is invoked when users invoke a non-existent method on an object. The name of the method and the arguments of the invocation are passed to noSuchMethod in an Invocation. If noSuchMethod returns a value, that value becomes the result of the original invocation.

inherited
toString() String

Returns a string representation of this object.

inherited