TypeParameters class Null safety

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.
read / write
defaults TypeArgumentsRef?
The default types for each type parameter.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
names List<String>?
The names of the type parameters.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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?