toMap method
Implementation
Map<String, dynamic> toMap() => {
'notificationId': notificationId,
'channelId': channelId,
'channelName': channelName,
'title': title,
'content': content,
'description': description,
'lightColor': '#${Color(lightColor.value).toString().substring(8, 16)}',
'enableLights': enableLights,
'showBadge': showBadge,
'lockscreenVisibility': lockscreenVisibility.value,
'importance': importance.value,
};