TypeUsage class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

TypeUsage({required String shorthand, required Kind kind, required Map<String, dynamic> typeJson})
TypeUsage.fromJson(Map<String, dynamic> json)
factory

Properties

descriptor String
Populated by Descriptor.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind Kind
final
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shorthand String
final
type ReferredType
Populated by TypeUsage.fromJson.
latefinal
typeJson Map<String, dynamic>
final

Methods

accept<R>(TypeVisitor<R> v) → R
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

object TypeUsage
getter/setter pair