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((bytes) {
    final json = jsonDecode(Utf8Decoder().convert(bytes)) as List;
    return json.cast<Map<String, dynamic>>();
  });
}