encode method

String encode()

Implementation

String encode() {
  return jsonEncode({"initial_json": root.toJson(), "schema": schema.toJson()});
}