AnnotationValueType class Null safety

Inheritance
Available Extensions

Constructors

AnnotationValueType({required bool optional, MediaAnnotation? defaultValue})
const

Properties

dartTypeReference → Reference
read-onlyinherited
defaultValue → MediaAnnotation?
finalinherited
fromJsonFactory → MediaAnnotation Function(Map<String, dynamic> json)
finalinherited
fromJsonFunctionReference → Reference?
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
mandatoryFromJsonFunctionReference → Reference?
read-onlyinherited
mandatoryToJsonFunctionReference → Reference?
read-onlyinherited
name String
read-onlyoverride
optional bool
finalinherited
optionalFromJsonFunctionReference → Reference?
read-onlyinherited
optionalToJsonFunctionReference → Reference?
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
toJsonFunctionReference → Reference?
read-onlyinherited

Methods

asOptional({bool optional = true}) AnnotationValueType
override
convertFromJson(Map<String, dynamic>? value) → MediaAnnotation?
inherited
convertToJson(MediaAnnotation? value) Map<String, dynamic>?
inherited
mandatoryFromJson(Map<String, dynamic> json) → MediaAnnotation
inherited
mandatoryToJson(MediaAnnotation value) Map<String, dynamic>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
optionalFromJson(Map<String, dynamic>? value) → MediaAnnotation?
inherited
optionalToJson(MediaAnnotation? value) Map<String, dynamic>?
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
updateDartTypeReference(TypeReferenceBuilder b) → void
override

Operators

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