PNAppMessageInteraction constructor
PNAppMessageInteraction(
- Map<String, dynamic> input
)
Implementation
PNAppMessageInteraction(Map<String, dynamic> input) {
try {
id = PNAppMessageActionIdentifier.fromValue(input['id']);
type = PNAppMessageInteractionType.fromValue(input['type']);
appMessageId = input['appMessageId'];
appMessageScheduleId = input['appMessageScheduleId'];
data = input['data']?.cast<String, dynamic>();
} catch (e) {
dt.log("Error processing PNAppMessageInteraction ${e.toString()}");
}
}