ContentViewed.fromJson constructor

ContentViewed.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ContentViewed.fromJson(Map<String, dynamic> json) => ContentViewed(
      interaction: Interaction.fromJson(json),
      contentUuid: json["content_uuid"],
      timeElapsed: json["time_elapsed"],
    );