mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 01:11:16 +03:00
refactor(mobile): open api dto upgrade (#12793)
This commit is contained in:
1
mobile/openapi/lib/model/asset_response_dto.dart
generated
1
mobile/openapi/lib/model/asset_response_dto.dart
generated
@@ -293,6 +293,7 @@ class AssetResponseDto {
|
||||
/// [value] if it's a [Map], null otherwise.
|
||||
// ignore: prefer_constructors_over_static_methods
|
||||
static AssetResponseDto? fromJson(dynamic value) {
|
||||
upgradeDto(value, "AssetResponseDto");
|
||||
if (value is Map) {
|
||||
final json = value.cast<String, dynamic>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user