removeDocument method Null safety

Future<bool> removeDocument(
  1. String cid
)

Deletes a SchemaDocument from the Bucket given its cid

Implementation

Future<bool> removeDocument(String cid) async {
  if (!_isInitialized) {
    await _resolve();
  }
  return await MotorFlutterPlatform.instance.removeBucketObject(did, cid);
}