WatchDeviceChangesResponse constructor
WatchDeviceChangesResponse({
- DeviceChangeType? type,
- List<
int> ? deviceId, - Int64? watchRevision,
- Timestamp? lastConnected,
Implementation
factory WatchDeviceChangesResponse({
$1.DeviceChangeType? type,
$core.List<$core.int>? deviceId,
$fixnum.Int64? watchRevision,
$3.Timestamp? lastConnected,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (deviceId != null) {
_result.deviceId = deviceId;
}
if (watchRevision != null) {
_result.watchRevision = watchRevision;
}
if (lastConnected != null) {
_result.lastConnected = lastConnected;
}
return _result;
}