INNER CODE UNIT · Dart

mapRepresentation

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

  Map<String, dynamic> mapRepresentation() => {
        'action_id': this.actionId,
        'url': this.url,
        'closing_message': this.closingMessage,
      };

  String jsonRepresentation() => convertToJsonString(mapRepresentation());
}

class OSInAppMessage extends JSONStringRepresentable {
  String? messageId;

  OSInAppMessage(Map<String, dynamic> json) {
    this.messageId = json["message_id"];
  }

  Map<String, dynamic> mapRepresentation() => {'message_id': this.messageId};

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…