JSON method

String JSON()

Implementation

String JSON() {
  return json.encode({
    "event": this.event,
    "status": this.status,
  });
}