getClassName function
Implementation
String getClassName({
required String parentName,
String childName = '',
I18nLocale? locale,
}) {
final String languageTag;
if (locale != null) {
languageTag = locale.languageTag.toCaseOfLocale(CaseStyle.pascal);
} else {
languageTag = '';
}
return parentName + childName.toCase(CaseStyle.pascal) + languageTag;
}