A named argument that defines a getter, function, or anonymous class, and assigns it to a parameter.
Examples (multi-line):
void onSuccess(Result result) { print(result); logger.end(currentTask, result); } object destroyable satisfies Destroyable { shared actual void destroy(Anything error) => process.exit(1); }
Anything
InlineDefinitionArgument
NamedArgument
Node
Object
Anything
Initializer |
InlineDefinitionArgument() |
Attributes | |
name | shared formal MemberName name The name of the getter, function, or object, as well as of the parameter it’s assigned to. |
Inherited Attributes |
Attributes inherited from: Node |
Attributes inherited from: Object hash , string |
Inherited Methods |
Methods inherited from: Node |
Methods inherited from: Object equals |