PortableTypeDef class
Definition of a type's structure
Contains the complete information about a type including its path, generic parameters, actual definition, and documentation.
Constructors
-
PortableTypeDef({required List<
String> path, required List<TypeParameter> params, required TypeDef typeDef, List<String> docs = const []}) -
const
Properties
-
docs
→ List<
String> -
Documentation for this type
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
params
→ List<
TypeParameter> -
Type parameters (for generic types)
final
-
path
→ List<
String> -
Type path as a list of segments (e.g.,
'pallet_balances', 'AccountData')final - pathString → String?
-
Helper to get path as joined string with '::'
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeDef → TypeDef
-
The actual type definition variant
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
typeDependencies(
) → Set< int>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- codec → const $PortableTypeDef
- Codec instance for PortableTypeDef