InsertOperation.fromJson constructor
Implementation
factory InsertOperation.fromJson(Map<String, dynamic> json) {
final path = json['path'] as Path;
final nodes = (json['nodes'] as List)
.map((n) => Node.fromJson(n))
.toList(growable: false);
return InsertOperation(path, nodes);
}