1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-14 07:04:24 +02:00

refactor(mobile): open api dto upgrade (#12793)

This commit is contained in:
Jason Rasmussen
2024-09-23 15:41:41 -04:00
committed by GitHub
parent 3008050e4c
commit ad33ce5938
197 changed files with 205 additions and 288 deletions

View File

@ -40,6 +40,7 @@ class ValidateLibraryResponseDto {
/// [value] if it's a [Map], null otherwise.
// ignore: prefer_constructors_over_static_methods
static ValidateLibraryResponseDto? fromJson(dynamic value) {
upgradeDto(value, "ValidateLibraryResponseDto");
if (value is Map) {
final json = value.cast<String, dynamic>();