TypeParameters class

A TypeParameters object represents the type argument vector for some uninstantiated generic type.

Constructors

TypeParameters({List<String>? names, TypeArgumentsRef? bounds, TypeArgumentsRef? defaults})

Properties

bounds TypeArgumentsRef?
The bounds set on each type parameter.
getter/setter pair
defaults TypeArgumentsRef?
The default types for each type parameter.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
names List<String>?
The names of the type parameters.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Operators

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

Static Methods

parse(Map<String, dynamic>? json) TypeParameters?