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