PropertiesTemplate.fromProperties constructor
Implementation
PropertiesTemplate.fromProperties(Properties p) {
p.contents.forEach((e) {
if(e is PropertiesComment) {
this.contents.add(e);
}
if(e is PropertiesEntry) {
this.contents.add(PropertiesTemplateEntry(e.key));
}
});
}