HTNominalType constructor

HTNominalType({
  1. String? id,
  2. HTClassDeclaration? klass,
  3. List<HTType> typeArgs = const [],
  4. bool isNullable = false,
  5. List<String> namespacesWithin = const [],
})

Implementation

HTNominalType({
  String? id,
  this.klass,
  this.typeArgs = const [],
  this.isNullable = false,
  this.namespacesWithin = const [],
})  : _isResolved = klass != null,
      super(klass?.id ?? id) {
  assert(super.id != null);
}