getDate method

String? getDate()

Implementation

String? getDate() {
  if (date == null) getDateAsDateTime();

  ///this generates a non null date
  return date;
}