SetNotificationRequest constructor

SetNotificationRequest({
  1. String? remoteId,
  2. String? serviceUuid,
  3. String? secondaryServiceUuid,
  4. String? characteristicUuid,
  5. bool? enable,
})

Implementation

factory SetNotificationRequest({
  $core.String? remoteId,
  $core.String? serviceUuid,
  $core.String? secondaryServiceUuid,
  $core.String? characteristicUuid,
  $core.bool? enable,
}) {
  final _result = create();
  if (remoteId != null) {
    _result.remoteId = remoteId;
  }
  if (serviceUuid != null) {
    _result.serviceUuid = serviceUuid;
  }
  if (secondaryServiceUuid != null) {
    _result.secondaryServiceUuid = secondaryServiceUuid;
  }
  if (characteristicUuid != null) {
    _result.characteristicUuid = characteristicUuid;
  }
  if (enable != null) {
    _result.enable = enable;
  }
  return _result;
}