remove method
Removes layer from the collection by using layer or layer name and may also remove graphical content, if isRemoveGraphicalContent is true.
Implementation
void remove(
{PdfLayer? layer, String? name, bool isRemoveGraphicalContent = false}) {
_helper.remove(layer, name, isRemoveGraphicalContent);
}