generate method
Implementation
@override
String generate(List<ClassMember> members) {
var clone = '';
if (!enabled) return clone;
for (var member in members) {
if (!(member is FieldDeclaration)) continue;
final name = member.fields.variables.first.name.lexeme;
clone += '$name: from.$name,';
}
return 'static $className clone($className from) => $className.build($clone);';
}