InvokeMethodExpr constructor
InvokeMethodExpr(
- Expression receiver,
- dynamic method,
- List<
Expression> args, { - OutputType? outputType,
- required bool checked,
- List<
NamedExpr> ? namedArgs = const [],
Implementation
InvokeMethodExpr(
this.receiver,
dynamic /* String | BuiltinMethod */ method,
this.args, {
OutputType? outputType,
required this.checked,
this.namedArgs = const [],
}) : super(outputType) {
if (method is String) {
name = method;
builtin = null;
} else {
name = null;
builtin = method as BuiltinMethod?;
}
}