BridgeConstructorDef class

A bridged constructor definition, used to inform the dart_eval compiler of a constructor's properties when it is defined outside of dart_eval.

Implemented types
Annotations
  • @JsonSerializable()

Constructors

BridgeConstructorDef(BridgeFunctionDef functionDescriptor, {bool isFactory = false})
const
BridgeConstructorDef.fromJson(Map<String, dynamic> json)
Connect the generated _$BridgeMethodDeclarationFromJson function to the fromJson factory.
factory

Properties

functionDescriptor BridgeFunctionDef
final
hashCode int
The hash code for this object.
no setterinherited
isFactory bool
final
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
toJson() Map<String, dynamic>
Connect the generated _$BridgeMethodDeclarationToJson function to the toJson method.
toString() String
A string representation of this object.
inherited

Operators

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