mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 09:13:15 +03:00
deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
@@ -23,8 +23,8 @@ class SmartInfoResponseDto {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is SmartInfoResponseDto &&
|
||||
other.objects == objects &&
|
||||
other.tags == tags;
|
||||
_deepEquality.equals(other.objects, objects) &&
|
||||
_deepEquality.equals(other.tags, tags);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
@@ -58,11 +58,11 @@ class SmartInfoResponseDto {
|
||||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return SmartInfoResponseDto(
|
||||
objects: json[r'objects'] is List
|
||||
? (json[r'objects'] as List).cast<String>()
|
||||
objects: json[r'objects'] is Iterable
|
||||
? (json[r'objects'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
tags: json[r'tags'] is List
|
||||
? (json[r'tags'] as List).cast<String>()
|
||||
tags: json[r'tags'] is Iterable
|
||||
? (json[r'tags'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user