toTime method
Implementation
String toTime() => this > 0
? DateFormat('hh:mm aaa')
.format(DateTime.fromMillisecondsSinceEpoch(this).toLocal())
: toString();
String toTime() => this > 0
? DateFormat('hh:mm aaa')
.format(DateTime.fromMillisecondsSinceEpoch(this).toLocal())
: toString();