utcNowIso method
The current UTC time as ISO text, ready for an API. "2024-03-20T10:00:00.000Z"
Implementation
String utcNowIso() => DateTime.now().toUtc().toIso8601String();
The current UTC time as ISO text, ready for an API. "2024-03-20T10:00:00.000Z"
String utcNowIso() => DateTime.now().toUtc().toIso8601String();