LambdaInstance class
Defines a lambda function instance.
Example:
(context) => buildStory(context)
- Inheritance
-
- Object
- BaseInstance
- LambdaInstance
- Annotations
-
- @immutable
Constructors
-
LambdaInstance.new({required String name, List<
String> parameters = const <String>[]}) -
Creates a new instance of LambdaInstance
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
The name of the function
final
-
parameters
→ List<
String> -
The parameters of the function
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCode(
) → String -
Transforms the BaseInstance or its implementation into Code (a String)
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override