OptimoveInAppButtonPress.fromMap constructor

OptimoveInAppButtonPress.fromMap(
  1. Map<String, dynamic> map
)

Implementation

OptimoveInAppButtonPress.fromMap(Map<String, dynamic> map)
    : deepLinkData = Map<String, dynamic>.from(map['deepLinkData']),
      messageId = map['messageId'],
      messageData = map['messageData'] != null ? Map<String, dynamic>.from(map['messageData']) : null;