AndroidNotificationSettings.fromMap constructor
AndroidNotificationSettings.fromMap(
- Map map
Implementation
factory AndroidNotificationSettings.fromMap(Map<dynamic, dynamic> map) {
return AndroidNotificationSettings(
areNotificationsEnabled: map['areNotificationsEnabled'],
importance: map['importance'],
channelSettings: List<ChannelSettings>.from(
map['channelSettings']?.map((x) => ChannelSettings.fromMap(x))),
);
}