TypedProperty class final Typed Data

Annotation for the property of a typed dictionary or document that is a dictionary or document property.

Annotations
  • @experimental
  • @Target({TargetKind.parameter})

Constructors

TypedProperty({String? property, String? defaultValue, ScalarConverter? converter})
Creates an annotation for the property of a typed dictionary or document that is a dictionary or document property.
const

Properties

converter ScalarConverter?
Converter for converting between the underlying data and the value of the property.
final
defaultValue String?
The Dart code of the default value for the property.
final
hashCode int
The hash code for this object.
no setterinherited
property String?
The name of the property in the underlying data.
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
toString() String
A string representation of this object.
inherited

Operators

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