mirror of
https://github.com/immich-app/immich.git
synced 2025-11-15 11:32:35 +09:00
refactor(mobile): open api dto upgrade (#12793)
This commit is contained in:
@@ -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>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user