NotusDocument.fromJson constructor

NotusDocument.fromJson(
  1. List data
)

Creates new NotusDocument from provided JSON data.

Implementation

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