mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 01:11:20 +03:00
deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
@@ -29,8 +29,8 @@ class AssetBulkDeleteDto {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetBulkDeleteDto &&
|
||||
other.force == force &&
|
||||
other.ids == ids;
|
||||
other.force == force &&
|
||||
_deepEquality.equals(other.ids, ids);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
@@ -61,8 +61,8 @@ class AssetBulkDeleteDto {
|
||||
|
||||
return AssetBulkDeleteDto(
|
||||
force: mapValueOfType<bool>(json, r'force'),
|
||||
ids: json[r'ids'] is List
|
||||
? (json[r'ids'] as List).cast<String>()
|
||||
ids: json[r'ids'] is Iterable
|
||||
? (json[r'ids'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user