toDocument

open override fun toDocument(): Document

Returns the pretty text representation of this object.