current method

Future<Map<String, dynamic>> current()

Implementation

Future<Map<String, dynamic>> current() async {
  final resp = await _connection.request(
    path: '/_api/database/current',
  );
  return asJson(resp.body['result']);
}