HTVariableDeclaration constructor
HTVariableDeclaration({
- required String id,
- String? classId,
- HTDeclarationNamespace? closure,
- HTSource? source,
- String? documentation,
- HTType? declType,
- bool isPrivate = false,
- bool isExternal = false,
- bool isStatic = false,
- bool isConst = false,
- bool isMutable = false,
- bool isTopLevel = false,
- bool isField = false,
- bool lateFinalize = false,
Implementation
HTVariableDeclaration(
{required String id,
super.classId,
super.closure,
super.source,
super.documentation,
HTType? declType,
super.isPrivate = false,
super.isExternal = false,
super.isStatic = false,
super.isConst = false,
super.isMutable = false,
super.isTopLevel = false,
super.isField = false,
this.lateFinalize = false})
: _declType = declType,
super(id: id) {
if (_declType != null && _declType!.isResolved) {
_resolvedDeclType = _declType!;
}
}