initialize method

  1. @override
Future<bool> initialize(
  1. WindowsInitializationSettings settings, {
  2. DidReceiveNotificationResponseCallback? onNotificationReceived,
})

Initializes the plugin. No other method should be called before this.

Implementation

@override
Future<bool> initialize(
  WindowsInitializationSettings settings, {
  DidReceiveNotificationResponseCallback? onNotificationReceived,
}) async {
  throw UnsupportedError(
    'This platform does not support Windows notifications',
  );
}