formatTime function

String? formatTime(
  1. DateTime? time
)

Implementation

String? formatTime(DateTime? time) => time?.toIso8601String();