toMap method
Convert AndroidNotificationConfiguration to dictionary form
Implementation
Map<String, dynamic> toMap() {
return {
'appActivityClass': appActivityClass,
'callActivityClass': callActivityClass,
'defaultIconName': defaultIconName,
'missedCallIconName': missedCallIconName,
'defaultContactIconName': defaultContactIconName,
'enableRingtone': enableRingtone,
}..removeWhere((key, value) => value == null);
}