Snippet.fromJson constructor
Snippet.fromJson(
- Map json_
Implementation
Snippet.fromJson(core.Map json_)
: this(
matchRanges: json_.containsKey('matchRanges')
? (json_['matchRanges'] as core.List)
.map((value) => MatchRange.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
snippet: json_.containsKey('snippet')
? json_['snippet'] as core.String
: null,
);