items property Null safety

PdfListFieldItemCollection items

Gets the list field items.

Implementation

PdfListFieldItemCollection get items {
  if (_items == null) {
    if (!_isLoadedField) {
      _items = PdfListFieldItemCollection._();
      _dictionary.setProperty(_DictionaryProperties.opt, _items);
    } else {
      _items = _getListItemCollection();
    }
  }
  return _items!;
}