AnnotationDto class

Constructors

AnnotationDto({required String id, String? author, int? created, int? modified, String? text, String? location})
Returns a new AnnotationDto instance.

Properties

author String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
created int?
The timestamp (unix epoch in ms) of creation of this note, will be filled automatically if missing. Not enforced by the application server.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
The Id of the Annotation. We encourage using either a v4 UUID or a HL7 Id.
getter/setter pair
location String?
Defines to which part of the corresponding information the note is related to.
getter/setter pair
modified int?
The timestamp (unix epoch in ms) of the latest modification of this note, will be filled automatically if missing. Not enforced by the application server.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Text contained in the note, written as markdown.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(dynamic value) AnnotationDto?
Returns a new AnnotationDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AnnotationDto>?
mapFromJson(dynamic json) Map<String, AnnotationDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AnnotationDto>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.