dispatchToGlobal method
全局广播此通知
Implementation
void dispatchToGlobal({bool deliverToNative = true}) {
if (_notificationController.hasListener) {
_notificationController.sink.add(this);
}
if (deliverToNative) {
_notificationChannel.invokeMethod(name, arguments);
}
}