BridgeMethodDef class

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

Implemented types
Annotations
  • @JsonSerializable()

Constructors

BridgeMethodDef(BridgeFunctionDef functionDescriptor, {bool isStatic = false})
const
BridgeMethodDef.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
isStatic 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