Annotation class
A text note which also contains information about who made the statement and when.
Constructors
- Annotation({Reference? authorReference, String? authorString, DateTime? time, String? text})
- Constructs a new Annotation.
- Annotation.fromJson(JsonObject _json)
- Creates an Annotation instance from the provided JSON object.
Properties
-
The individual responsible for making the annotation.
no setter
-
The individual responsible for making the annotation.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- json → JsonObject
-
Json object representation of the Annotation instance.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
The text of the annotation in markdown format.
no setter
- time → DateTime?
-
Indicates when this particular annotation was made.
no setter
Methods
-
copyWith(
{Reference? authorReference, String? authorString, DateTime? time, String? text}) → Annotation - Creates a copy of the Annotation instance and allows for non-destructive mutation.
-
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.
override
Constants
- Field definition for authorReference
- Field definition for authorString
-
fieldDefinitions
→ const List<
FieldDefinition< Object> > - All field definitions for Annotation
-
textField
→ const FieldDefinition<
String> - Field definition for text
-
timeField
→ const FieldDefinition<
DateTime> - Field definition for time