StorageObject constructor
StorageObject({})
Implementation
factory StorageObject({
$core.String? collection,
$core.String? key,
$core.String? userId,
$core.String? value,
$core.String? version,
$core.int? permissionRead,
$core.int? permissionWrite,
$0.Timestamp? createTime,
$0.Timestamp? updateTime,
}) {
final _result = create();
if (collection != null) {
_result.collection = collection;
}
if (key != null) {
_result.key = key;
}
if (userId != null) {
_result.userId = userId;
}
if (value != null) {
_result.value = value;
}
if (version != null) {
_result.version = version;
}
if (permissionRead != null) {
_result.permissionRead = permissionRead;
}
if (permissionWrite != null) {
_result.permissionWrite = permissionWrite;
}
if (createTime != null) {
_result.createTime = createTime;
}
if (updateTime != null) {
_result.updateTime = updateTime;
}
return _result;
}