DeviceStateResponse constructor

DeviceStateResponse({
  1. String? remoteId,
  2. DeviceStateResponse_BluetoothDeviceState? state,
  3. int? status,
})

Implementation

factory DeviceStateResponse({
  $core.String? remoteId,
  DeviceStateResponse_BluetoothDeviceState? state,
  $core.int? status,
}) {
  final $result = create();
  if (remoteId != null) {
    $result.remoteId = remoteId;
  }
  if (state != null) {
    $result.state = state;
  }
  if (status != null) {
    $result.status = status;
  }
  return $result;
}