SearchResult.fromJson constructor
SearchResult.fromJson(
- Map json_
Implementation
SearchResult.fromJson(core.Map json_)
: this(
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
id: json_.containsKey('id')
? ResourceId.fromJson(
json_['id'] as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
snippet: json_.containsKey('snippet')
? SearchResultSnippet.fromJson(
json_['snippet'] as core.Map<core.String, core.dynamic>)
: null,
);