subject property

String subject

Gets the subject.

Implementation

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

Sets the subject.

Implementation

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