UserGroup class abstract

Annotations
  • @freezed

Constructors

UserGroup.new({@Default(null) String? groupId, @Default(null) String? groupName, @Default([]) List<Group> groupsHierarchy, @Default(null) String? userId, @Default(null) String? login, @Default(null) String? name, @Default(null) String? email, @Default(null) String? phone, @Default(null) String? patientId, @Default(null) String? healthcarePartyId, @Default(null) String? deviceId, @Default(null) String? nameOfParentOfTopmostGroupInHierarchy})
const
factory

Properties

copyWith → $UserGroupCopyWith<UserGroup>
Create a copy of UserGroup with the given fields replaced by the non-null parameter values.
no setterinherited
deviceId String?
no setterinherited
email String?
no setterinherited
groupId String?
no setterinherited
groupName String?
no setterinherited
groupsHierarchy List<Group>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
healthcarePartyId String?
no setterinherited
login String?
no setterinherited
name String?
no setterinherited
nameOfParentOfTopmostGroupInHierarchy String?
no setterinherited
patientId String?
no setterinherited
phone String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String?
no setterinherited

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

Static Methods

encode(UserGroup value) Map<String, dynamic>
fromJSON(Map<String, dynamic> data) UserGroup