InAppMessageData.fromMap constructor

InAppMessageData.fromMap(
  1. Map map
)

This is a constructor named fromMap that takes a Map as an argument and creates a new instance of the InAppMessageData class using the values from the map.

Implementation

InAppMessageData.fromMap(Map map)
    : this(map['campaignHash'], map['variantIdentifier'],
          map['additionalParameters'], map['isTest']);