OnCharacteristicChanged constructor

OnCharacteristicChanged({
  1. String? remoteId,
  2. BluetoothCharacteristic? characteristic,
})

Implementation

factory OnCharacteristicChanged({
  $core.String? remoteId,
  BluetoothCharacteristic? characteristic,
}) {
  final _result = create();
  if (remoteId != null) {
    _result.remoteId = remoteId;
  }
  if (characteristic != null) {
    _result.characteristic = characteristic;
  }
  return _result;
}