fields property Null safety

PdfFormFieldCollection fields

Gets the fields.

Implementation

PdfFormFieldCollection get fields {
  if (_fields == null) {
    _fields = PdfFormFieldCollection._();
    _dictionary.setProperty(_DictionaryProperties.fields, _fields);
  }
  _fields!._isAction = true;
  return _fields!;
}