TypeAliasDeclaration class sealed
represents a found TypeAliasDeclaration
- Implemented types
- Available extensions
- Annotations
-
- @freezed
Constructors
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
-
map<
TResult extends Object?> (TResult $default(_TypeAliasDeclaration value)) → TResult -
Available on TypeAliasDeclaration, provided by the TypeAliasDeclarationPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_TypeAliasDeclaration value)?) → TResult? -
Available on TypeAliasDeclaration, provided by the TypeAliasDeclarationPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_TypeAliasDeclaration value)?, {required TResult orElse()}) → TResult -
Available on TypeAliasDeclaration, provided by the TypeAliasDeclarationPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(String name, String aliasedTypeName, bool isDeprecated, bool isExperimental, Set< String> ? entryPoints, String relativePath)?, {required TResult orElse()}) → TResult -
Available on TypeAliasDeclaration, provided by the TypeAliasDeclarationPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String name, String aliasedTypeName, bool isDeprecated, bool isExperimental, Set< String> ? entryPoints, String relativePath)) → TResult -
Available on TypeAliasDeclaration, provided by the TypeAliasDeclarationPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String name, String aliasedTypeName, bool isDeprecated, bool isExperimental, Set< String> ? entryPoints, String relativePath)?) → TResult? -
Available on TypeAliasDeclaration, provided by the TypeAliasDeclarationPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited