getTitle method
Implementation
String? getTitle() {
if (typography == null || (typography!.transform?.isEmpty ?? true)) {
return title;
}
switch (typography!.transform) {
case 'lower':
return title!.toLowerCase();
case 'uper':
return toUpperAllFirstLetter(title!);
case 'full':
return title!.toUpperCase();
default:
return title;
}
}