Documentation constructor
Documentation({})
Implementation
factory Documentation({
$core.String? summary,
$core.String? overview,
$core.Iterable<DocumentationRule>? rules,
$core.String? documentationRootUrl,
$core.Iterable<Page>? pages,
}) {
final _result = create();
if (summary != null) {
_result.summary = summary;
}
if (overview != null) {
_result.overview = overview;
}
if (rules != null) {
_result.rules.addAll(rules);
}
if (documentationRootUrl != null) {
_result.documentationRootUrl = documentationRootUrl;
}
if (pages != null) {
_result.pages.addAll(pages);
}
return _result;
}