Time.now constructor
Time.now()
Creates a new Time object from the current time.
Implementation
factory Time.now() {
final DateTime now = DateTime.now();
return Time(now.hour, now.minute);
}
Creates a new Time object from the current time.
factory Time.now() {
final DateTime now = DateTime.now();
return Time(now.hour, now.minute);
}