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