instance property

XNotifications instance
final

Production singleton — talks to the native plugin via MethodChannel

  • EventChannel. Tests inject a fake XNotifications directly into their service-under-test rather than swap this field.

Implementation

static final XNotifications instance = MethodChannelXNotifications();