setPage method
void
setPage(])
Sets the page information.
Implementation
void setPage(String? partOf, String? parts, String? imports,
String? name, String? description, String? args,
String? contentType, String? dart, String? lastModified,
String? etag, [int? line]) {
_partOf = partOf;
_noEL(partOf, "the partOf attribute", line);
_parts = parts;
_noEL(parts, "the part attribute", line);
_import = imports;
_noEL(_import, "the import attribute", line);
_name = name;
_noEL(name, "the name attribute", line);
_desc = description;
_noEL(description, "the description attribute", line);
_args = args;
_noEL(args, "the args attribute", line);
_dart = dart;
_noEL(dart, "the dart attribute", line);
_contentType = contentType;
if (etag != null && etag.isNotEmpty) _etag = etag;
if (lastModified != null && lastModified.isNotEmpty) {
if (lastModified != "compile" && lastModified != "start"
&& !isEL(lastModified))
_error("Unknown lastModified attribute: $lastModified");
_lastModified = lastModified;
}
}