chore: Update dependencies (#372)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-06-07 18:36:17 +02:00 committed by GitHub
parent 4220c68ca3
commit 34c9c5bd9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
65 changed files with 431 additions and 1910 deletions

View file

@ -73,58 +73,4 @@ mixin DiscoveryInfoMappable {
return DiscoveryInfoMapper.ensureInitialized()
.encodeMap<DiscoveryInfo>(this as DiscoveryInfo);
}
DiscoveryInfoCopyWith<DiscoveryInfo, DiscoveryInfo, DiscoveryInfo>
get copyWith => _DiscoveryInfoCopyWithImpl(
this as DiscoveryInfo, $identity, $identity);
@override
String toString() {
return DiscoveryInfoMapper.ensureInitialized()
.stringifyValue(this as DiscoveryInfo);
}
}
extension DiscoveryInfoValueCopy<$R, $Out>
on ObjectCopyWith<$R, DiscoveryInfo, $Out> {
DiscoveryInfoCopyWith<$R, DiscoveryInfo, $Out> get $asDiscoveryInfo =>
$base.as((v, t, t2) => _DiscoveryInfoCopyWithImpl(v, t, t2));
}
abstract class DiscoveryInfoCopyWith<$R, $In extends DiscoveryInfo, $Out>
implements ClassCopyWith<$R, $In, $Out> {
$R call({String? id, String? name, String? address, String? endPointAddress});
DiscoveryInfoCopyWith<$R2, $In, $Out2> $chain<$R2, $Out2>(Then<$Out2, $R2> t);
}
class _DiscoveryInfoCopyWithImpl<$R, $Out>
extends ClassCopyWithBase<$R, DiscoveryInfo, $Out>
implements DiscoveryInfoCopyWith<$R, DiscoveryInfo, $Out> {
_DiscoveryInfoCopyWithImpl(super.value, super.then, super.then2);
@override
late final ClassMapperBase<DiscoveryInfo> $mapper =
DiscoveryInfoMapper.ensureInitialized();
@override
$R call(
{String? id,
String? name,
String? address,
Object? endPointAddress = $none}) =>
$apply(FieldCopyWithData({
if (id != null) #id: id,
if (name != null) #name: name,
if (address != null) #address: address,
if (endPointAddress != $none) #endPointAddress: endPointAddress
}));
@override
DiscoveryInfo $make(CopyWithData data) => DiscoveryInfo(
id: data.get(#id, or: $value.id),
name: data.get(#name, or: $value.name),
address: data.get(#address, or: $value.address),
endPointAddress: data.get(#endPointAddress, or: $value.endPointAddress));
@override
DiscoveryInfoCopyWith<$R2, DiscoveryInfo, $Out2> $chain<$R2, $Out2>(
Then<$Out2, $R2> t) =>
_DiscoveryInfoCopyWithImpl($value, $cast, t);
}