.docname name:{String? = null} -> Any
If name is not null, it sets the document name to its value. If it's null, the current document name is returned.
null
the current document name if name is null
(optional) name to assign to the document