initialize method

  1. @override
Future<bool> initialize(
  1. String? defaultIcon,
  2. List<NotificationChannel> channels, {
  3. List<NotificationChannelGroup>? channelGroups,
  4. bool debug = false,
})
override

INITIALIZING METHODS ********************************************* Initializes the plugin, creating a default icon and the initial channels. Only needs to be called at main.dart once. OBS: defaultIcon needs to be a Resource media type OBS 2: channels are updated if they already exists

Implementation

@override
Future<bool> initialize(
    String? defaultIcon, List<NotificationChannel> channels,
    {List<NotificationChannelGroup>? channelGroups,
    bool debug = false}) async {
  return true;
}