$Query.fromJson constructor

$Query.fromJson(
  1. Map json_
)

Implementation

$Query.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        terms:
            json_.containsKey('terms') ? json_['terms'] as core.String : null,
      );