Documentation.fromJson constructor
Documentation.fromJson(
- Map json_
Implementation
Documentation.fromJson(core.Map json_)
: this(
documentationRootUrl: json_.containsKey('documentationRootUrl')
? json_['documentationRootUrl'] as core.String
: null,
overview: json_.containsKey('overview')
? json_['overview'] as core.String
: null,
pages: json_.containsKey('pages')
? (json_['pages'] as core.List)
.map((value) => Page.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
rules: json_.containsKey('rules')
? (json_['rules'] as core.List)
.map((value) => DocumentationRule.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
sectionOverrides: json_.containsKey('sectionOverrides')
? (json_['sectionOverrides'] as core.List)
.map((value) => Page.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
serviceRootUrl: json_.containsKey('serviceRootUrl')
? json_['serviceRootUrl'] as core.String
: null,
summary: json_.containsKey('summary')
? json_['summary'] as core.String
: null,
);