mirror of
https://github.com/immich-app/immich.git
synced 2025-11-24 11:20:40 +09:00
refactor(mobile): open api dto upgrade (#12793)
This commit is contained in:
@@ -80,6 +80,7 @@ class SystemConfigImageDto {
|
||||
/// [value] if it's a [Map], null otherwise.
|
||||
// ignore: prefer_constructors_over_static_methods
|
||||
static SystemConfigImageDto? fromJson(dynamic value) {
|
||||
upgradeDto(value, "SystemConfigImageDto");
|
||||
if (value is Map) {
|
||||
final json = value.cast<String, dynamic>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user