WriteCharacteristicResponse constructor

WriteCharacteristicResponse({
  1. WriteCharacteristicRequest? request,
  2. bool? success,
})

Implementation

factory WriteCharacteristicResponse({
  WriteCharacteristicRequest? request,
  $core.bool? success,
}) {
  final _result = create();
  if (request != null) {
    _result.request = request;
  }
  if (success != null) {
    _result.success = success;
  }
  return _result;
}