ZIMPushConfig.fromMap constructor
ZIMPushConfig.fromMap(
- Map map
Implementation
ZIMPushConfig.fromMap(Map<dynamic, dynamic> map)
: title = map['title']!,
content = map['content']!,
payload = map['payload']!,
threadID = map['threadID']!,
resourcesID = map['resourcesID']!,
enableBadge = map['enableBadge']!,
badgeIncrement = map['badgeIncrement']!,
voIPConfig = (map['voIPConfig'] != null)
? ZIMVoIPConfig.fromMap(map['voIPConfig'])
: null,
privateMessageTemplate = (map['privateMessageTemplate'] != null)
? ZIMOfflinePushPrivateMessageTemplate.fromMap(
map['privateMessageTemplate'])
: null;