BluetoothDevice constructor

BluetoothDevice({
  1. String? remoteId,
  2. String? name,
  3. BluetoothDevice_Type? type,
})

Implementation

factory BluetoothDevice({
  $core.String? remoteId,
  $core.String? name,
  BluetoothDevice_Type? type,
}) {
  final _result = create();
  if (remoteId != null) {
    _result.remoteId = remoteId;
  }
  if (name != null) {
    _result.name = name;
  }
  if (type != null) {
    _result.type = type;
  }
  return _result;
}