instance property
Production singleton — talks to the native plugin via MethodChannel
- EventChannel. Tests inject a fake
XNotificationsdirectly into their service-under-test rather than swap this field.
Implementation
static final XNotifications instance = MethodChannelXNotifications();