Document.fromJson constructor

Document.fromJson(
  1. List data
)

Creates new document from provided JSON data.

Implementation

Document.fromJson(List data) : _delta = _transform(Delta.fromJson(data)) {
  _loadDocument(_delta);
}