NotusDocument constructor

NotusDocument({
  1. NotusHeuristics heuristics = NotusHeuristics.fallback,
})

Creates new empty Notus document.

Implementation

NotusDocument({this.heuristics = NotusHeuristics.fallback})
    : _delta = Delta()..insert('\n') {
  _loadDocument(_delta);
}