toString method

  1. @override
String toString()
override

Returns the time in the format HH:MM:SS[.ssssss].

Implementation

@override
String toString() {
  return _date
      .toString()
      .split(' ')
      .last
      .replaceFirst(RegExp(r'\.?0*Z$'), '');
}