add method

PdfLayer add({
  1. String? name,
  2. bool? visible,
})

Creates a new PdfLayer with name and adds it to the end of the collection.

Implementation

PdfLayer add({String? name, bool? visible}) {
  return _helper.add(name, visible);
}