BridgeFieldDef class

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

Implemented types
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

BridgeFieldDef(BridgeTypeAnnotation type, {bool isStatic = false})
const
BridgeFieldDef.fromJson(Map<String, dynamic> json)
Connect the generated _$BridgeFieldDeclarationFromJson function to the fromJson factory.
factory

Properties

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
type → BridgeTypeAnnotation
final

Methods

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

Operators

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