CrossDeviceData.fromData constructor

CrossDeviceData.fromData(
  1. Map data
)

Implementation

CrossDeviceData.fromData(Map data) :
      merchantAppId = data["merchant_app_id"] as String,
      deviceReceive = data["device_receive"] as String,
      deviceRequest = data["device_request"] as String,
      deviceIdReceive = data["device_id_receive"] as String,
      deviceIdRequest = data["device_id_request"] as String,
      expired = data["expired"] as String,
      status = data["status"] as String,
      notificationId = data["notification_id"] as String?,
      action = data["action"] as String?;