apply method
Apply method uses name and path to update template data with it
Implementation
Map<String, String> apply({required String name, String? path}) {
return map((key, value) =>
MapEntry(key._pathWith(name, rootPath: path), value._dataWith(name)));
}