JRpcEvent(int id, int type, dynamic value, [int? handle]) { // ignore: unnecessary_this this.result = CaptureEvent(id, type, value, handle); }