toJson method

String toJson()

Implementation

String toJson() {
  return DocumentModelMapper.ensureInitialized()
      .encodeJson<DocumentModel>(this as DocumentModel);
}