exportJson method

Future<List<Map<String, dynamic>>> exportJson()

Export the results of this query as json.

Implementation

Future<List<Map<String, dynamic>>> exportJson() {
  return exportJsonRaw((Uint8List bytes) {
    final json = jsonDecode(const Utf8Decoder().convert(bytes)) as List;
    return json.cast<Map<String, dynamic>>();
  });
}