WriteStorageObject constructor

WriteStorageObject({
  1. String? collection,
  2. String? key,
  3. String? value,
  4. String? version,
  5. Int32Value? permissionRead,
  6. Int32Value? permissionWrite,
})

Implementation

factory WriteStorageObject({
  $core.String? collection,
  $core.String? key,
  $core.String? value,
  $core.String? version,
  $1.Int32Value? permissionRead,
  $1.Int32Value? permissionWrite,
}) {
  final _result = create();
  if (collection != null) {
    _result.collection = collection;
  }
  if (key != null) {
    _result.key = key;
  }
  if (value != null) {
    _result.value = value;
  }
  if (version != null) {
    _result.version = version;
  }
  if (permissionRead != null) {
    _result.permissionRead = permissionRead;
  }
  if (permissionWrite != null) {
    _result.permissionWrite = permissionWrite;
  }
  return _result;
}