HTVariableDeclaration constructor

HTVariableDeclaration({
  1. required String id,
  2. String? classId,
  3. HTDeclarationNamespace? closure,
  4. HTSource? source,
  5. String? documentation,
  6. HTType? declType,
  7. bool isPrivate = false,
  8. bool isExternal = false,
  9. bool isStatic = false,
  10. bool isConst = false,
  11. bool isMutable = false,
  12. bool isTopLevel = false,
  13. 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,
    this.lateFinalize = false})
    : _declType = declType,
      super(id: id) {
  if (_declType != null && _declType!.isResolved) {
    _resolvedDeclType = _declType!;
  }
}