toJson method

String toJson()

Convert to JSON string

Implementation

String toJson() {
  return jsonEncode(toBayeux());
}