NotusDocument.fromDelta constructor

NotusDocument.fromDelta(
  1. Delta delta, {
  2. NotusHeuristics heuristics = NotusHeuristics.fallback,
})

Creates new NotusDocument from provided delta.

Implementation

NotusDocument.fromDelta(Delta delta,
    {this.heuristics = NotusHeuristics.fallback})
    : _delta = _migrateDelta(delta) {
  _loadDocument(_delta);
}