deleteTile abstract method
Remove the tile from the specified store, deleting it if was orphaned
As tiles can belong to multiple stores, a tile cannot be safely 'truly' deleted unless it does not belong to any other stores (it was an orphan). A tile that is not an orphan will just be 'removed' from the specified store.
Returns:
null
: if there was no existing tiletrue
: if the tile itself could be deleted (it was orphaned)false
: if the tile still belonged to at least one other store
Implementation
@visibleForTesting
Future<bool?> deleteTile({
required String storeName,
required String url,
});