dateTimeOnlyAsString property

String get dateTimeOnlyAsString

Trim Hours & Minutes from date

Implementation

String get dateTimeOnlyAsString {
  return '${this.year}-${this.month}-${this.day} ${this.hour}:${this.minute}';
}