MapViewed.fromJson constructor

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

Implementation

factory MapViewed.fromJson(Map<String, dynamic> json) => MapViewed(
      interaction: Interaction.fromJson(json),
      mapUuid: json["map_uuid"],
      timeElapsed: json["time_elapsed"],
    );