NotusDocument.fromJson constructor

NotusDocument.fromJson(
  1. List data, {
  2. NotusHeuristics heuristics = NotusHeuristics.fallback,
})

Creates new NotusDocument from provided JSON data.

Implementation

NotusDocument.fromJson(List data,
    {this.heuristics = NotusHeuristics.fallback})
    : _delta = _migrateDelta(Delta.fromJson(data)) {
  _loadDocument(_delta);
}