timeOnlyAsString property
String
get
timeOnlyAsString
Get Hours & Minutes from date
Implementation
String get timeOnlyAsString {
String time = DateFormat("HH:mm").format(this);
return time != "00:00" ? time : 'Anytime';
}