@override void flushEvents([String? callbackId]) { methodChannel.invokeMethod('flushEvents', {"callbackId": callbackId}); }