TypeAliasDeclaration class

represents a found TypeAliasDeclaration

Implemented types
Annotations
  • @freezed

Constructors

TypeAliasDeclaration({required String name, required String aliasedTypeName, required bool isDeprecated, required bool isExperimental, Set<String>? entryPoints, required String relativePath})
const
factory

Properties

aliasedTypeName String
name of the aliased type
no setterinherited
copyWith → $TypeAliasDeclarationCopyWith<TypeAliasDeclaration>
Create a copy of TypeAliasDeclaration with the given fields replaced by the non-null parameter values.
no setterinherited
entryPoints Set<String>?
entry points this type alias is reachable through
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isDeprecated bool
whether this type alias is deprecated
no setterinherited
isExperimental bool
whether this type alias is experimental
no setterinherited
name String
name of this type alias
no setterinherited
relativePath String
the relative path of the library
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
the signature of this type alias declaration.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited