toIso8601String method
Converts this Time to an ISO 8601 string. The output represents the time in UTC without timezone information.
Implementation
String toIso8601String() => '${hour.toString().padLeft(2, '0')}:'
'${minute.toString().padLeft(2, '0')}:'
'${second.toString().padLeft(2, '0')}';