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;
}