SearchQueries.fromJson constructor
SearchQueries.fromJson(
- Map json_
Implementation
SearchQueries.fromJson(core.Map json_)
: this(
nextPage: json_.containsKey('nextPage')
? (json_['nextPage'] as core.List)
.map((value) => SearchQueriesNextPage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
previousPage: json_.containsKey('previousPage')
? (json_['previousPage'] as core.List)
.map((value) => SearchQueriesPreviousPage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
request: json_.containsKey('request')
? (json_['request'] as core.List)
.map((value) => SearchQueriesRequest.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);