font property Null safety

PdfFont? font

Gets or sets the font.

Implementation

PdfFont? get font => _font;
void font=(PdfFont? value)

Implementation

set font(PdfFont? value) {
  if (value != null) {
    _font = value;
  }
}