set method
Set a value in the document at the specified path selector.
Implementation
@override
void set(String selector, dynamic newValue) {
selector = selector.substring(0, 1) != '/' ? '/$selector' : selector;
final pointer = JsonPointer(selector);
internal = jsonDecode(jsonEncode(pointer.write(internal, newValue)));
}