getMonthDayYear method

String getMonthDayYear({
  1. bool shortMonthName = false,
})

November 3, 2022

Implementation

String getMonthDayYear({bool shortMonthName = false}) {
  String? month = months[this.month];
  return '${shortMonthName ? month?.substring(0, 3) : month} ${this.day}, ${this.year}';
}