delete Collection

open fun deleteCollection(collection: LinksCollection, onDelete: () -> Unit)

Method to delete the collection

Parameters

collection

The collection to delete

onDelete

The action to execute when the collection has been deleted