Context.fromJson constructor

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

Implementation

factory Context.fromJson(Map<String, dynamic> json) => Context(
      id: json["id"],
      mapboxId: json["mapbox_id"] ?? '',
      text: json["text"],
      wikidata: json["wikidata"],
      shortCode: json["short_code"],
    );