Metadata.fromMap constructor

Metadata.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Metadata.fromMap(Map<String, dynamic> json) => Metadata(
      attribution: json["attribution"],
      service: json["service"],
      timestamp: json["timestamp"],
      query: json["query"] == null ? null : Query.fromMap(json["query"]),
      engine: json["engine"] == null ? null : Engine.fromMap(json["engine"]),
    );