BridgeTypeRef class
A bridge type ref is a reference to a type used by the dart_eval compiler.
- Available Extensions
Constructors
-
BridgeTypeRef(BridgeTypeSpec? spec, [List<
BridgeTypeRef> typeArgs = const []]) -
Reference a type by its spec (library URI and name)
const
-
BridgeTypeRef.fromJson(Map<
String, dynamic> json) -
Load a type ref from its JSON representation.
factory
- BridgeTypeRef.genericFunction(BridgeFunctionDef? gft)
-
Reference a generic function type.
Currently unsupported.
const
-
BridgeTypeRef.ref(String? ref, [List<
BridgeTypeRef> typeArgs = const []]) -
Reference a type by its local in-context name
(e.g. a type parameter name such as T)
const
-
BridgeTypeRef.type(int? cacheId, [List<
BridgeTypeRef> typeArgs = const []]) -
Internal use only.
const
Properties
- cacheId → int?
-
final
- gft → BridgeFunctionDef?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spec → BridgeTypeSpec?
-
final
-
typeArgs
→ List<
BridgeTypeRef> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert the type ref to its JSON representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited