exportJson method

Future<List<Map<String, dynamic>>> exportJson({
  1. bool primitiveNull = true,
})

Implementation

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