Annotation class

A text note which also contains information about who made the statement and when

Annotations
  • @freezed

Constructors

Annotation({@JsonKey(name: 'ID') String? id, @JsonKey(name: 'AuthorReference') Reference? authorReference, @JsonKey(name: 'AuthorString') String? authorString, @JsonKey(name: 'Time') DateTime? time, @JsonKey(name: 'Text') String? text})
factory
Annotation.fromJson(Map<String, dynamic> json)
factory

Properties

authorReference Reference?
The individual responsible for making the annotation.
no setterinherited
authorString String?
no setterinherited
copyWith → $AnnotationCopyWith<Annotation>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The text of the annotation in markdown format.
no setterinherited
time DateTime?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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