initialize method
Implementation
@override
Future<bool> initialize({
String? defaultIcon,
bool debug = false,
String? languageCode,
}) async {
if (is_support_awesome_notification) {
// return await AwesomeNotifications().initialize(
// defaultIcon,
// [
// NotificationChannel(
// channelGroupKey: 'basic_channel_group',
// channelKey: 'basic_channel',
// channelName: 'Basic notifications',
// channelDescription: 'Notification channel for basic tests',
// defaultColor: const Color(0xFF9D50DD),
// ledColor: Colors.white,
// ),
// ],
// // Channel groups are only visual and are not required
// channelGroups: [
// NotificationChannelGroup(
// channelGroupKey: 'basic_channel_group',
// channelGroupName: 'Basic group',
// ),
// ],
// debug: debug,
// languageCode: languageCode,
// );
}
return false;
}