BridgeTypeSpec class

A type spec is a type reference that is not yet resolved, comprised of a library URI and a name.

Available extensions
Annotations
  • @JsonSerializable()

Constructors

BridgeTypeSpec(String library, String name)
const
BridgeTypeSpec.fromJson(Map<String, dynamic> json)
Connect the generated _$BridgeUnresolvedTypeReferenceFromJson function to the fromJson factory.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
library String
final
name String
final
ref BridgeTypeRef

Available on BridgeTypeSpec, provided by the BridgeTypeSpecExt extension

Extension to create a type ref from a type spec
no setter
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
refWith(List<BridgeTypeRef> typeArgs) BridgeTypeRef

Available on BridgeTypeSpec, provided by the BridgeTypeSpecExt extension

Extension to create a type ref from a spec, with type args
toJson() Map<String, dynamic>
Connect the generated _$BridgeUnresolvedTypeReferenceToJson function to the toJson method.
toString() String
A string representation of this object.
inherited

Operators

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