CompareAndSwapRequest constructor

CompareAndSwapRequest({
  1. String? storeKey,
  2. String? recordKey,
  3. String? propertyName,
  4. Property? value,
  5. Property? oldValue,
  6. Hint? hint,
})

Implementation

factory CompareAndSwapRequest({
  $core.String? storeKey,
  $core.String? recordKey,
  $core.String? propertyName,
  Property? value,
  Property? oldValue,
  Hint? hint,
}) {
  final _result = create();
  if (storeKey != null) {
    _result.storeKey = storeKey;
  }
  if (recordKey != null) {
    _result.recordKey = recordKey;
  }
  if (propertyName != null) {
    _result.propertyName = propertyName;
  }
  if (value != null) {
    _result.value = value;
  }
  if (oldValue != null) {
    _result.oldValue = oldValue;
  }
  if (hint != null) {
    _result.hint = hint;
  }
  return _result;
}