generate static method
Implementation
static String generate({
required String className,
required String iconData,
required String iconPack,
required String iconPackExt,
}) {
var template = _template.replaceAll('%CLASS_NAME%', className.pascalCase);
template = template.replaceFirst('%ICON_DATA_TEMPLATE%', iconData);
template = template.replaceFirst('%ICON_PACK%', iconPack);
template = template.replaceFirst('%ICON_PACK_EXT_TEMPLATE%', iconPackExt);
return template;
}