BridgeTypeAnnotation class

A bridged type annotation contains a type and an optional nullable flag.

Annotations
  • @JsonSerializable()

Constructors

BridgeTypeAnnotation.new(BridgeTypeRef type, {bool nullable = false})
const
BridgeTypeAnnotation.fromJson(Map<String, dynamic> json)
Connect the generated _$BridgeTypeAnnotationFromJson function to the fromJson factory.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
nullable bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BridgeTypeRef
final

Methods

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.
inherited