copy method

TextDocument copy()

Implementation

TextDocument copy() {
  final next = TextDocument._raw();
  next._storage = _storage;
  next._appendSource = _appendSource;
  return next;
}