constructorFileds function
Implementation
String constructorFileds(
final ConstructorElement constructor, {
Set<DartType>? skip,
}) {
String fileds = "";
for (var par in constructor.parameters) {
if (skip?.contains(par.type) ?? false) continue;
fileds += "final ${par.type} _${par.name};\n";
}
return fileds;
}