HTDeclaration constructor

const HTDeclaration({
  1. String? id,
  2. String? classId,
  3. HTDeclarationNamespace? closure,
  4. HTSource? source,
  5. SourceRange idRange = SourceRange.empty,
  6. SourceRange sourceRange = SourceRange.empty,
  7. bool isPrivate = false,
  8. bool isExternal = false,
  9. bool isStatic = false,
  10. bool isConst = false,
  11. bool isMutable = false,
  12. bool isTopLevel = false,
})

Implementation

const HTDeclaration(
    {this.id,
    this.classId,
    this.closure,
    this.source,
    this.idRange = SourceRange.empty,
    this.sourceRange = SourceRange.empty,
    bool isPrivate = false,
    this.isExternal = false,
    this.isStatic = false,
    this.isConst = false,
    this.isMutable = false,
    this.isTopLevel = false})
    : _isPrivate = isPrivate;