doc property Null safety

Document? doc
read / write

Implementation

Document? doc;