listDatabases method

Future<List<String>> listDatabases()

Implementation

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