lock property
PdfDict<PdfDataType> ?
get
lock
Gets the Lock dictionary.
Implementation
PdfDict? get lock {
if (dictionary.containsKey(PdfNameTokens.lock)) {
final l = dictionary[PdfNameTokens.lock];
if (l is PdfDict) return l;
}
return null;
}
set
lock
(PdfDict<PdfDataType> ? value)
Sets the Lock dictionary.
Implementation
set lock(PdfDict? value) {
if (value != null) {
dictionary[PdfNameTokens.lock] = value;
} else {
dictionary.values.remove(PdfNameTokens.lock);
}
}