setCategoryOptions static method

Future<void> setCategoryOptions(
  1. List<String> options
)

Defines the notification category options for custom notification actions.

Note: This method is only supported on iOS.

  • options: The category options to be set

Implementation

static Future<void> setCategoryOptions(List<String> options) async {
  if (Platform.isIOS) {
    await _channel.invokeMapMethod('setCategoryOptions', options);
  }
}