ListDevicesResponse constructor

ListDevicesResponse({
  1. Iterable<Device>? devices,
  2. List<int>? offset,
})

Implementation

factory ListDevicesResponse({
  $core.Iterable<Device>? devices,
  $core.List<$core.int>? offset,
}) {
  final _result = create();
  if (devices != null) {
    _result.devices.addAll(devices);
  }
  if (offset != null) {
    _result.offset = offset;
  }
  return _result;
}