delete method
Delete a single object by its id
.
Returns whether the object has been deleted. Isar web always returns
true
.
Implementation
@override
Future<bool> delete(Id id) {
return _spanHelper.asyncWrapInSpan(
'delete',
() {
return _isarCollection.delete(id);
},
dbName: _dbName,
collectionName: name,
);
}