modificationDate property

DateTime modificationDate

Gets the modification date of the PDF document

Implementation

DateTime get modificationDate {
  if (_helper._dictionary!
          .containsKey(PdfDictionaryProperties.modificationDate) &&
      _helper._dictionary![PdfDictionaryProperties.modificationDate]
          is PdfString) {
    return _helper.modificationDate = _helper._dictionary!.getDateTime(
        _helper._dictionary![PdfDictionaryProperties.modificationDate]!
            as PdfString);
  }
  return _helper.modificationDate = DateTime.now();
}
void modificationDate=(DateTime value)

Sets the modification date of the PDF document

Implementation

set modificationDate(DateTime value) {
  _helper.modificationDate = value;
  _helper._dictionary!.setDateTime(
      PdfDictionaryProperties.modificationDate, _helper.modificationDate);
}