parseAndFormat method
Converts the formatted date string into a string representing dateString
formatted according assigned _pattern
and _language
.
Implementation
String parseAndFormat(String dateString) {
return format(NepaliDateTime.parse(dateString));
}