Document.fromDelta constructor

Document.fromDelta(
  1. Delta delta
)

Creates new document from provided delta.

Implementation

Document.fromDelta(Delta delta) : _delta = delta {
  _loadDocument(delta);
}