parseModule method
Parses a static object representing a Module
.
Implementation
ModuleElement parseModule(DartObject o) {
if (isList(o)) {
return _parseList(o);
} else if ($Module.isExactlyType(o.type!)) {
return _parseModule(o);
} else {
final typeName = getTypeName(o.type!);
throw FormatException('Expected Module, got "$typeName".');
}
}