Query.fromJson constructor
Query.fromJson(
- Map json_
Implementation
Query.fromJson(core.Map json_)
: this(
maxRows: json_.containsKey('maxRows')
? json_['maxRows'] as core.String
: null,
query:
json_.containsKey('query') ? json_['query'] as core.String : null,
queryParameters: json_.containsKey('queryParameters')
? (json_['queryParameters'] as core.List)
.map((value) => QueryParameter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
timeout: json_.containsKey('timeout')
? json_['timeout'] as core.String
: null,
);