deps: open-api generator (#6655)

* deps: open-api generator

* fix: unused sed/replace
This commit is contained in:
Jason Rasmussen 2024-01-26 11:40:28 -05:00 committed by GitHub
parent 78a2fa8569
commit 2e39243670
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
195 changed files with 1907 additions and 1545 deletions

View file

@ -23,8 +23,8 @@ class CheckExistingAssetsDto {
@override
bool operator ==(Object other) => identical(this, other) || other is CheckExistingAssetsDto &&
other.deviceAssetIds == deviceAssetIds &&
other.deviceId == deviceId;
_deepEquality.equals(other.deviceAssetIds, deviceAssetIds) &&
other.deviceId == deviceId;
@override
int get hashCode =>
@ -50,8 +50,8 @@ class CheckExistingAssetsDto {
final json = value.cast<String, dynamic>();
return CheckExistingAssetsDto(
deviceAssetIds: json[r'deviceAssetIds'] is List
? (json[r'deviceAssetIds'] as List).cast<String>()
deviceAssetIds: json[r'deviceAssetIds'] is Iterable
? (json[r'deviceAssetIds'] as Iterable).cast<String>().toList(growable: false)
: const [],
deviceId: mapValueOfType<String>(json, r'deviceId')!,
);