WatchDeviceChangesResponse constructor

WatchDeviceChangesResponse({
  1. DeviceChangeType? type,
  2. List<int>? deviceId,
  3. Int64? watchRevision,
  4. 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;
}