SLNotification constructor

SLNotification({
  1. required String title,
  2. required String content,
  3. required String iconPath,
  4. String? channelId,
  5. String? channelName,
})

Implementation

SLNotification(
    {required this.title,
    required this.content,
    required this.iconPath,
    this.channelId,
    this.channelName}) {
  channelId ??= "simple_local_notifications_channel";
  channelName ??= "simple_local_notifications";
}