initialize abstract method

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

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

/// 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
Future<bool> initialize(
    String? defaultIcon, List<NotificationChannel> channels,
    {List<NotificationChannelGroup>? channelGroups, bool debug = false});