monthYear static method
Implementation
static String monthYear(String? date) {
if(date == null) return '';
DateTime dateTime = DateTime.parse(date).toLocal();
String formattedDate;
formattedDate = DateFormat('MMMM yyyy').format(dateTime);
return formattedDate;
}