DeviceUser class

Annotations
  • @freezed

Constructors

DeviceUser.new({Long? bytesDownloaded, Long? bytesUploaded, Device? device, bool? isOwner, AWSTimestamp? lastAccessTime, Space? lastConnectSpace, List<DeviceUserSpaceConfig?>? spaceConfigs, UserAccessStatus? status, User? user})
factory
DeviceUser.fromJson(Map<String, dynamic> json)
factory

Properties

bytesDownloaded int?
no setterinherited
bytesUploaded int?
no setterinherited
copyWith → $DeviceUserCopyWith<DeviceUser>
Create a copy of DeviceUser with the given fields replaced by the non-null parameter values.
no setterinherited
device Device?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isOwner bool?
no setterinherited
lastAccessTime int?
no setterinherited
lastConnectSpace Space?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spaceConfigs List<DeviceUserSpaceConfig?>?
no setterinherited
status UserAccessStatus?
no setterinherited
user User?
no setterinherited

Methods

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

Operators

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