BridgeClassType class

A bridged class type informs the dart_eval compiler about a class's header including superclass, mixins and interfaces.

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

BridgeClassType(BridgeTypeRef type, {BridgeTypeRef? $extends = const BridgeTypeRef(CoreTypes.object, []), List<BridgeTypeRef> $implements = const <BridgeTypeRef>[], List<BridgeTypeRef> $with = const <BridgeTypeRef>[], bool isAbstract = false, Map<String, BridgeGenericParam> generics = const <String, BridgeGenericParam>{}})
const
BridgeClassType.fromJson(Map<String, dynamic> json)
Connect the generated _$BridgeTypeAnnotationFromJson function to the fromJson factory.
factory

Properties

$extends → BridgeTypeRef?
final
$implements → List<BridgeTypeRef>
final
$with → List<BridgeTypeRef>
final
generics → Map<String, BridgeGenericParam>
final
hashCode → int
The hash code for this object.
no setteroverride
isAbstract → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → BridgeTypeRef
final

Methods

copyWith({BridgeTypeRef? type}) → BridgeClassType
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Connect the generated _$BridgeTypeAnnotationToJson function to the toJson method.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override