Document constructor

Document()

Creates new empty document.

Implementation

Document() : _delta = Delta()..insert('\n') {
  _loadDocument(_delta);
}