now method

  1. @override
Future<DateTime> now()
override

Fetches the current server time from the configured HTTP API.

Implementation

@override
Future<DateTime> now() async {
  final response = await query();
  return response.dateTime;
}