INNER CODE UNIT · Dart

OSInAppMessageClickResult

OneSignal/OneSignal-Flutter-SDK · lib/src/inappmessage.dart:28

class OSInAppMessageClickResult extends JSONStringRepresentable {
  // Name of the action event defined for the IAM element
  String? actionId;

  // URL given to the IAM element defined in the dashboard
  String? url;

  // Whether or not the click action should dismiss the IAM
  bool closingMessage = false;

  OSInAppMessageClickResult(Map<String, dynamic> json) {
    this.actionId = json["action_id"];
    this.url = json["url"];
    this.closingMessage = json["closing_message"] as bool;
  }

  Map<String, dynamic> mapRepresentation() => {
        'action_id': this.actionId,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…