formatShortDate method
Implementation
String formatShortDate({String? formatType, languageCode}) {
return DateFormat(
formatType ?? appPrefs.dateFormat.replaceAll('yyyy', 'yy'),
languageCode ?? appPrefs.languageCode)
.format(this);
}