ZIMMessageSendConfig.fromMap constructor

ZIMMessageSendConfig.fromMap(
  1. Map map
)

Implementation

ZIMMessageSendConfig.fromMap(Map<dynamic, dynamic> map)
    : pushConfig = (map['pushConfig'] != null)
          ? ZIMPushConfig.fromMap(map['pushConfig'])
          : null,
      priority = ZIMMessagePriorityExtension.mapValue[map['priority']] ??
          ZIMMessagePriority.low,
      hasReceipt = map['hasReceipt']!,
      isNotifyMentionedUsers = map['isNotifyMentionedUsers']!,
      isRetrySend = map['isRetrySend']!,
      disableUnreadMessageCount = map['disableUnreadMessageCount']!,
      isAllowMultipleMessagePartialFailed =
          map['isAllowMultipleMessagePartialFailed']!;