DeviceObject constructor
DeviceObject({})
Implementation
factory DeviceObject({
$core.String? id,
$core.String? name,
$core.String? sessionId,
$core.String? ip,
$core.String? userAgent,
$core.String? os,
$core.String? lastSeen,
$core.String? profileId,
Locale? locale,
PresenceStatus? presence,
$6.Struct? location,
$6.Struct? properties,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (name != null) {
$result.name = name;
}
if (sessionId != null) {
$result.sessionId = sessionId;
}
if (ip != null) {
$result.ip = ip;
}
if (userAgent != null) {
$result.userAgent = userAgent;
}
if (os != null) {
$result.os = os;
}
if (lastSeen != null) {
$result.lastSeen = lastSeen;
}
if (profileId != null) {
$result.profileId = profileId;
}
if (locale != null) {
$result.locale = locale;
}
if (presence != null) {
$result.presence = presence;
}
if (location != null) {
$result.location = location;
}
if (properties != null) {
$result.properties = properties;
}
return $result;
}