title property

String get title

Gets the title.

Implementation

String get title {
  if (_helper._dictionary!.containsKey(PdfDictionaryProperties.title) &&
      _helper._dictionary![PdfDictionaryProperties.title] is PdfString) {
    return _title =
        (_helper._dictionary![PdfDictionaryProperties.title]! as PdfString)
            .value!
            .replaceAll('\u0000', '');
  }
  return _title = '';
}
set title (String value)

Sets the title.

Implementation

set title(String value) {
  if (_title != value) {
    _title = value;
    _helper._dictionary!.setString(PdfDictionaryProperties.title, _title);
  }
}