Documentation.fromJson constructor
Implementation
factory Documentation.fromJson(Map<String, dynamic> json) {
return Documentation(
summary: json['summary'] ?? '',
pages: decodeListMessage(json['pages'], Page.fromJson) ?? [],
rules: decodeListMessage(json['rules'], DocumentationRule.fromJson) ?? [],
documentationRootUrl: json['documentationRootUrl'] ?? '',
serviceRootUrl: json['serviceRootUrl'] ?? '',
overview: json['overview'] ?? '',
);
}