add method

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

Creates a new PdfPageLayer and adds it to the end of the collection.

Implementation

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