QueryHistoryRequest.fromJson constructor

QueryHistoryRequest.fromJson(
  1. Map json_
)

Implementation

QueryHistoryRequest.fromJson(core.Map json_)
    : this(
        formFactor: json_.containsKey('formFactor')
            ? json_['formFactor'] as core.String
            : null,
        metrics: json_.containsKey('metrics')
            ? (json_['metrics'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        origin: json_.containsKey('origin')
            ? json_['origin'] as core.String
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );