initialize method

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

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

Implementation

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