Expression.callConstructor constructor
Expression.callConstructor(
- Type type, {
- String? name,
- ParameterValues? parameterValues,
- bool isConst = false,
Implementation
Expression.callConstructor(
Type type, {
String? name,
ParameterValues? parameterValues,
bool isConst = false,
}) : nodes = [
if (isConst) KeyWord.const$,
if (isConst) Space(),
type,
if (name != null) Code('.'),
if (name != null) IdentifierStartingWithLowerCase(name),
Code('('),
if (parameterValues != null) parameterValues,
Code(')'),
];