author property

String author

Gets the author.

Implementation

String get author {
  _author = '';
  if (_helper._dictionary!.containsKey(PdfDictionaryProperties.author) &&
      _helper._dictionary![PdfDictionaryProperties.author] is PdfString) {
    _author =
        (_helper._dictionary![PdfDictionaryProperties.author]! as PdfString)
            .value;
  }
  return _author!;
}
void author=(String value)

Sets the author.

Implementation

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