DeviceStateResponse constructor

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

Implementation

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