SetNotificationResponse constructor

SetNotificationResponse({
  1. String? remoteId,
  2. BluetoothCharacteristic? characteristic,
  3. bool? success,
})

Implementation

factory SetNotificationResponse({
  $core.String? remoteId,
  BluetoothCharacteristic? characteristic,
  $core.bool? success,
}) {
  final result = create();
  if (remoteId != null) result.remoteId = remoteId;
  if (characteristic != null) result.characteristic = characteristic;
  if (success != null) result.success = success;
  return result;
}