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