contains method

bool contains(
  1. PdfAttachment attachment
)

Determines whether the attachment collection contains the specified attachment.

Returns true if the attachment is present.

Implementation

bool contains(PdfAttachment attachment) {
  return _helper.contains(attachment);
}