NotusDocument.fromDelta constructor
NotusDocument.fromDelta(
- Delta delta, {
- NotusHeuristics heuristics = NotusHeuristics.fallback,
Creates new NotusDocument from provided delta
.
Implementation
NotusDocument.fromDelta(Delta delta,
{this.heuristics = NotusHeuristics.fallback})
: _delta = _migrateDelta(delta) {
_loadDocument(_delta);
}