time property

Duration get time

Returns the time part as Duration.

Implementation

Duration get time {
  return Duration(
    hours: hour,
    minutes: minute,
    seconds: second,
    milliseconds: millisecond,
  );
}