GroupDto class

Constructors

GroupDto({required String id, String? rev, int? deletionDate, String? name, String? password, List<String> servers = const [], required bool superAdmin, Set<PropertyStubDto> properties = const {}, String? superGroup})
Returns a new GroupDto instance.

Properties

deletionDate int?
hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
The id of the group. We encourage using either a v4 UUID or a HL7 Id.
getter/setter pair
name String?
Username for the group
getter/setter pair
password String?
Password for the group access
getter/setter pair
properties Set<PropertyStubDto>
Extra properties for the user. Those properties are typed (see class Property)
getter/setter pair
rev String?
The revision of the group in the database, used for conflict management / optimistic locking.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
servers List<String>
List of servers accessible to the group
getter/setter pair
superAdmin bool
Whether the group has a super admin permission, originally set to no access.
getter/setter pair
superGroup 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

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

Constants

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