importJsonRaw method

  1. @override
Future<void> importJsonRaw(
  1. Uint8List jsonBytes
)
override

Import a list of json objects encoded as a byte array.

The json objects must have the same structure as the objects in this collection. Otherwise an exception will be thrown.

Implementation

@override
Future<void> importJsonRaw(Uint8List jsonBytes) {
  return _spanHelper.asyncWrapInSpan(
    'importJsonRaw',
    () {
      return _isarCollection.importJsonRaw(jsonBytes);
    },
    dbName: _dbName,
    collectionName: name,
  );
}