HTClassDeclaration constructor
HTClassDeclaration({
- String? id,
- String? classId,
- HTDeclarationNamespace? closure,
- HTSource? source,
- String? documentation,
- List<
HTGenericTypeParameter> genericTypeParameters = const [], - HTType? superType,
- Iterable<
HTType> implementsTypes = const [], - Iterable<
HTType> withTypes = const [], - bool isExternal = false,
- bool isTopLevel = false,
- bool isAbstract = false,
- bool isEnum = false,
Implementation
HTClassDeclaration({
super.id,
super.classId,
super.closure,
super.source,
super.documentation,
this.genericTypeParameters = const [],
HTType? superType,
this.implementsTypes = const [],
this.withTypes = const [],
super.isExternal = false,
super.isTopLevel = false,
this.isAbstract = false,
this.isEnum = false,
}) : _unresolvedSuperType = superType {
if (_unresolvedSuperType != null && _unresolvedSuperType!.isResolved) {
_resolvedSuperType = _unresolvedSuperType;
}
}