TypedDocument class Typed Data

Annotation for classes that are typed documents.

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

Constructors

TypedDocument({TypeMatcher? typeMatcher = const ValueTypeMatcher()})
Creates an annotation for a class that is a typed document.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeMatcher TypeMatcher?
The type matcher to use for the typed document.
final

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