delete method

Future<bool> delete({
  1. bool notifiable = false,
})

Implementation

Future<bool> delete({
  bool notifiable = false,
}) {
  return _db
      ._w(
        reference: reference,
        collectionPath: path,
        collectionId: id,
        documentId: id,
        type: InAppWriteType.collection,
      )
      .then((_) => notifiable ? _n(_) : _);
}