TypeMetadata class

A type definition with optional metadata.

Constructors

TypeMetadata.new({required List<String> path, required List<TypeParameter> params, required TypeDef typeDef, required List<String> docs})
Create a `Type`.
const

Properties

docs List<String>
Documentation
final
hashCode int
The hash code for this object.
no setterinherited
params List<TypeParameter>
The generic type parameters of the type in use. Empty for non generic types
final
path List<String>
The unique path to the type. Can be empty for built-in types
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeDef TypeDef
The actual type definition
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.
override
typeDependencies() Set<int>

Operators

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

Constants

codec → const $TypeMetadata