toMap method
Convert AndroidNotificationConfiguration to dictionary form
Implementation
Map<String, dynamic> toMap() {
return {
'iconTemplateImageResource': iconTemplateImageResource,
'ringtoneSound': ringtoneSound,
'includeInRecents': includeInRecents,
'notifyInForeground': notifyInForeground,
'dtmfEnabled': dtmfEnabled,
}..removeWhere((key, value) => value == null);
}