convert method
Converts Dates to word in following format <Month Day+ Ordinal>+
This method extract year, month and day from the input date time. The extracted values are converted to words
Implementation
String convert(DateTime value) {
final _year= value.year;
final _month= value.month;
final _monthDay= value.day;
final _result= '${numWithOrdinal(_monthDay)} ${monthInWord(_month)} ${numToWord(_year)}';
return _result;
}