diff --git a/mobile/openapi/lib/model/add_assets_dto.dart b/mobile/openapi/lib/model/add_assets_dto.dart index 930dc292f7a00..11a9292343c22 100644 --- a/mobile/openapi/lib/model/add_assets_dto.dart +++ b/mobile/openapi/lib/model/add_assets_dto.dart @@ -49,7 +49,7 @@ class AddAssetsDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AddAssetsDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AddAssetsDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AddAssetsDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/add_assets_response_dto.dart b/mobile/openapi/lib/model/add_assets_response_dto.dart index 73d7f71947c91..85a26651d9913 100644 --- a/mobile/openapi/lib/model/add_assets_response_dto.dart +++ b/mobile/openapi/lib/model/add_assets_response_dto.dart @@ -71,7 +71,7 @@ class AddAssetsResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AddAssetsResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AddAssetsResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AddAssetsResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/add_users_dto.dart b/mobile/openapi/lib/model/add_users_dto.dart index b6db1d1dc7178..d1108b0d7f86e 100644 --- a/mobile/openapi/lib/model/add_users_dto.dart +++ b/mobile/openapi/lib/model/add_users_dto.dart @@ -49,7 +49,7 @@ class AddUsersDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AddUsersDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AddUsersDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AddUsersDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/admin_signup_response_dto.dart b/mobile/openapi/lib/model/admin_signup_response_dto.dart index cd937c9332cdf..38a7a75189539 100644 --- a/mobile/openapi/lib/model/admin_signup_response_dto.dart +++ b/mobile/openapi/lib/model/admin_signup_response_dto.dart @@ -73,7 +73,7 @@ class AdminSignupResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AdminSignupResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AdminSignupResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AdminSignupResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/album_count_response_dto.dart b/mobile/openapi/lib/model/album_count_response_dto.dart index 198717553967b..95d51df2cc33e 100644 --- a/mobile/openapi/lib/model/album_count_response_dto.dart +++ b/mobile/openapi/lib/model/album_count_response_dto.dart @@ -61,7 +61,7 @@ class AlbumCountResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AlbumCountResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AlbumCountResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AlbumCountResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/album_response_dto.dart b/mobile/openapi/lib/model/album_response_dto.dart index 3ef986cd6a88e..a6e9966e92da8 100644 --- a/mobile/openapi/lib/model/album_response_dto.dart +++ b/mobile/openapi/lib/model/album_response_dto.dart @@ -129,7 +129,7 @@ class AlbumResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AlbumResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AlbumResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AlbumResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/all_job_status_response_dto.dart b/mobile/openapi/lib/model/all_job_status_response_dto.dart index 8b6f483c8371a..7ae4a370faa07 100644 --- a/mobile/openapi/lib/model/all_job_status_response_dto.dart +++ b/mobile/openapi/lib/model/all_job_status_response_dto.dart @@ -103,7 +103,7 @@ class AllJobStatusResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AllJobStatusResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AllJobStatusResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AllJobStatusResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/api_key_create_dto.dart b/mobile/openapi/lib/model/api_key_create_dto.dart index 895356da1758e..f1e325179463f 100644 --- a/mobile/openapi/lib/model/api_key_create_dto.dart +++ b/mobile/openapi/lib/model/api_key_create_dto.dart @@ -59,7 +59,7 @@ class APIKeyCreateDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "APIKeyCreateDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "APIKeyCreateDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "APIKeyCreateDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/api_key_create_response_dto.dart b/mobile/openapi/lib/model/api_key_create_response_dto.dart index 84cb2b4445601..d0c7a76b85d28 100644 --- a/mobile/openapi/lib/model/api_key_create_response_dto.dart +++ b/mobile/openapi/lib/model/api_key_create_response_dto.dart @@ -55,7 +55,7 @@ class APIKeyCreateResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "APIKeyCreateResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "APIKeyCreateResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "APIKeyCreateResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/api_key_response_dto.dart b/mobile/openapi/lib/model/api_key_response_dto.dart index 8b34b4b9e5ebb..21e95d6d9ce22 100644 --- a/mobile/openapi/lib/model/api_key_response_dto.dart +++ b/mobile/openapi/lib/model/api_key_response_dto.dart @@ -67,7 +67,7 @@ class APIKeyResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "APIKeyResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "APIKeyResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "APIKeyResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/api_key_update_dto.dart b/mobile/openapi/lib/model/api_key_update_dto.dart index 82dcdb49c1edb..cbd6a256be8af 100644 --- a/mobile/openapi/lib/model/api_key_update_dto.dart +++ b/mobile/openapi/lib/model/api_key_update_dto.dart @@ -49,7 +49,7 @@ class APIKeyUpdateDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "APIKeyUpdateDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "APIKeyUpdateDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "APIKeyUpdateDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_dto.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_dto.dart index 6d5fdf5142b9c..96e3223aac15c 100644 --- a/mobile/openapi/lib/model/asset_bulk_upload_check_dto.dart +++ b/mobile/openapi/lib/model/asset_bulk_upload_check_dto.dart @@ -49,7 +49,7 @@ class AssetBulkUploadCheckDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetBulkUploadCheckDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetBulkUploadCheckDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetBulkUploadCheckDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart index 5eb50ccc74cc2..b84af26eef4ed 100644 --- a/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart +++ b/mobile/openapi/lib/model/asset_bulk_upload_check_item.dart @@ -56,7 +56,7 @@ class AssetBulkUploadCheckItem { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetBulkUploadCheckItem[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetBulkUploadCheckItem[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetBulkUploadCheckItem[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_response_dto.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_response_dto.dart index 9a0ed965f40c8..7f035a33715d1 100644 --- a/mobile/openapi/lib/model/asset_bulk_upload_check_response_dto.dart +++ b/mobile/openapi/lib/model/asset_bulk_upload_check_response_dto.dart @@ -49,7 +49,7 @@ class AssetBulkUploadCheckResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetBulkUploadCheckResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetBulkUploadCheckResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetBulkUploadCheckResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart index 016342de0a293..a6fdb8d24f814 100644 --- a/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart +++ b/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart @@ -81,7 +81,7 @@ class AssetBulkUploadCheckResult { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetBulkUploadCheckResult[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetBulkUploadCheckResult[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetBulkUploadCheckResult[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_count_by_time_bucket.dart b/mobile/openapi/lib/model/asset_count_by_time_bucket.dart index 1124d91063064..d71c1bb2a8517 100644 --- a/mobile/openapi/lib/model/asset_count_by_time_bucket.dart +++ b/mobile/openapi/lib/model/asset_count_by_time_bucket.dart @@ -55,7 +55,7 @@ class AssetCountByTimeBucket { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetCountByTimeBucket[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetCountByTimeBucket[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetCountByTimeBucket[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_count_by_time_bucket_response_dto.dart b/mobile/openapi/lib/model/asset_count_by_time_bucket_response_dto.dart index 1f017ecd240f1..3105ec1d3a0a6 100644 --- a/mobile/openapi/lib/model/asset_count_by_time_bucket_response_dto.dart +++ b/mobile/openapi/lib/model/asset_count_by_time_bucket_response_dto.dart @@ -55,7 +55,7 @@ class AssetCountByTimeBucketResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetCountByTimeBucketResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetCountByTimeBucketResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetCountByTimeBucketResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_count_by_user_id_response_dto.dart b/mobile/openapi/lib/model/asset_count_by_user_id_response_dto.dart index b227850de49d0..0b90dfbc2b897 100644 --- a/mobile/openapi/lib/model/asset_count_by_user_id_response_dto.dart +++ b/mobile/openapi/lib/model/asset_count_by_user_id_response_dto.dart @@ -73,7 +73,7 @@ class AssetCountByUserIdResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetCountByUserIdResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetCountByUserIdResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetCountByUserIdResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_file_upload_response_dto.dart b/mobile/openapi/lib/model/asset_file_upload_response_dto.dart index b00e17871e1fd..6c3b5abe7fc9e 100644 --- a/mobile/openapi/lib/model/asset_file_upload_response_dto.dart +++ b/mobile/openapi/lib/model/asset_file_upload_response_dto.dart @@ -55,7 +55,7 @@ class AssetFileUploadResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetFileUploadResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetFileUploadResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetFileUploadResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_ids_dto.dart b/mobile/openapi/lib/model/asset_ids_dto.dart index d7646284753cc..910ab988751ca 100644 --- a/mobile/openapi/lib/model/asset_ids_dto.dart +++ b/mobile/openapi/lib/model/asset_ids_dto.dart @@ -49,7 +49,7 @@ class AssetIdsDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetIdsDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetIdsDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetIdsDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_ids_response_dto.dart b/mobile/openapi/lib/model/asset_ids_response_dto.dart index 6f9befea71d87..32b9074016de4 100644 --- a/mobile/openapi/lib/model/asset_ids_response_dto.dart +++ b/mobile/openapi/lib/model/asset_ids_response_dto.dart @@ -65,7 +65,7 @@ class AssetIdsResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetIdsResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetIdsResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetIdsResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/asset_response_dto.dart b/mobile/openapi/lib/model/asset_response_dto.dart index 3b9264034dcba..9f80a9027966a 100644 --- a/mobile/openapi/lib/model/asset_response_dto.dart +++ b/mobile/openapi/lib/model/asset_response_dto.dart @@ -209,7 +209,7 @@ class AssetResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AssetResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AssetResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AssetResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/auth_device_response_dto.dart b/mobile/openapi/lib/model/auth_device_response_dto.dart index f767362a8a7a0..4bf908eee683a 100644 --- a/mobile/openapi/lib/model/auth_device_response_dto.dart +++ b/mobile/openapi/lib/model/auth_device_response_dto.dart @@ -79,7 +79,7 @@ class AuthDeviceResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "AuthDeviceResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "AuthDeviceResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "AuthDeviceResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/change_password_dto.dart b/mobile/openapi/lib/model/change_password_dto.dart index d700b534a6585..8ed839e484a78 100644 --- a/mobile/openapi/lib/model/change_password_dto.dart +++ b/mobile/openapi/lib/model/change_password_dto.dart @@ -55,7 +55,7 @@ class ChangePasswordDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "ChangePasswordDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "ChangePasswordDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "ChangePasswordDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/check_duplicate_asset_dto.dart b/mobile/openapi/lib/model/check_duplicate_asset_dto.dart index bdc9d4acd2f9d..30c94473ceaed 100644 --- a/mobile/openapi/lib/model/check_duplicate_asset_dto.dart +++ b/mobile/openapi/lib/model/check_duplicate_asset_dto.dart @@ -55,7 +55,7 @@ class CheckDuplicateAssetDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CheckDuplicateAssetDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CheckDuplicateAssetDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CheckDuplicateAssetDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart b/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart index 6f4586edb6186..07aecd10fb89c 100644 --- a/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart +++ b/mobile/openapi/lib/model/check_duplicate_asset_response_dto.dart @@ -65,7 +65,7 @@ class CheckDuplicateAssetResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CheckDuplicateAssetResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CheckDuplicateAssetResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CheckDuplicateAssetResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/check_existing_assets_dto.dart b/mobile/openapi/lib/model/check_existing_assets_dto.dart index 9eec51cd8df83..3c8a441b80aeb 100644 --- a/mobile/openapi/lib/model/check_existing_assets_dto.dart +++ b/mobile/openapi/lib/model/check_existing_assets_dto.dart @@ -55,7 +55,7 @@ class CheckExistingAssetsDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CheckExistingAssetsDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CheckExistingAssetsDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CheckExistingAssetsDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/check_existing_assets_response_dto.dart b/mobile/openapi/lib/model/check_existing_assets_response_dto.dart index 66ef952e315d9..d849f725fcf1e 100644 --- a/mobile/openapi/lib/model/check_existing_assets_response_dto.dart +++ b/mobile/openapi/lib/model/check_existing_assets_response_dto.dart @@ -49,7 +49,7 @@ class CheckExistingAssetsResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CheckExistingAssetsResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CheckExistingAssetsResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CheckExistingAssetsResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/create_album_dto.dart b/mobile/openapi/lib/model/create_album_dto.dart index c1535d6171116..c75995cc7d058 100644 --- a/mobile/openapi/lib/model/create_album_dto.dart +++ b/mobile/openapi/lib/model/create_album_dto.dart @@ -61,7 +61,7 @@ class CreateAlbumDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CreateAlbumDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CreateAlbumDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CreateAlbumDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/create_profile_image_response_dto.dart b/mobile/openapi/lib/model/create_profile_image_response_dto.dart index 3eeba4a13a965..389f415e8c1da 100644 --- a/mobile/openapi/lib/model/create_profile_image_response_dto.dart +++ b/mobile/openapi/lib/model/create_profile_image_response_dto.dart @@ -55,7 +55,7 @@ class CreateProfileImageResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CreateProfileImageResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CreateProfileImageResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CreateProfileImageResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/create_tag_dto.dart b/mobile/openapi/lib/model/create_tag_dto.dart index 855ab3be25ce2..24eb9a1894035 100644 --- a/mobile/openapi/lib/model/create_tag_dto.dart +++ b/mobile/openapi/lib/model/create_tag_dto.dart @@ -55,7 +55,7 @@ class CreateTagDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CreateTagDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CreateTagDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CreateTagDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/create_user_dto.dart b/mobile/openapi/lib/model/create_user_dto.dart index 870847aea5409..cd1fc5955a658 100644 --- a/mobile/openapi/lib/model/create_user_dto.dart +++ b/mobile/openapi/lib/model/create_user_dto.dart @@ -87,7 +87,7 @@ class CreateUserDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CreateUserDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CreateUserDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CreateUserDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/curated_locations_response_dto.dart b/mobile/openapi/lib/model/curated_locations_response_dto.dart index 5b220a5aafc0d..0c8d1a328baee 100644 --- a/mobile/openapi/lib/model/curated_locations_response_dto.dart +++ b/mobile/openapi/lib/model/curated_locations_response_dto.dart @@ -73,7 +73,7 @@ class CuratedLocationsResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CuratedLocationsResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CuratedLocationsResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CuratedLocationsResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/curated_objects_response_dto.dart b/mobile/openapi/lib/model/curated_objects_response_dto.dart index e1a3a2582e6af..9cb9e0a67a826 100644 --- a/mobile/openapi/lib/model/curated_objects_response_dto.dart +++ b/mobile/openapi/lib/model/curated_objects_response_dto.dart @@ -73,7 +73,7 @@ class CuratedObjectsResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "CuratedObjectsResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "CuratedObjectsResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "CuratedObjectsResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/delete_asset_dto.dart b/mobile/openapi/lib/model/delete_asset_dto.dart index cd5c7e3537458..366faf88fb60d 100644 --- a/mobile/openapi/lib/model/delete_asset_dto.dart +++ b/mobile/openapi/lib/model/delete_asset_dto.dart @@ -49,7 +49,7 @@ class DeleteAssetDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "DeleteAssetDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "DeleteAssetDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "DeleteAssetDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/delete_asset_response_dto.dart b/mobile/openapi/lib/model/delete_asset_response_dto.dart index 6ee0a7d6256ff..0d40c2ce76791 100644 --- a/mobile/openapi/lib/model/delete_asset_response_dto.dart +++ b/mobile/openapi/lib/model/delete_asset_response_dto.dart @@ -55,7 +55,7 @@ class DeleteAssetResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "DeleteAssetResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "DeleteAssetResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "DeleteAssetResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/download_files_dto.dart b/mobile/openapi/lib/model/download_files_dto.dart index 97899c97139d6..f2a5df04d5615 100644 --- a/mobile/openapi/lib/model/download_files_dto.dart +++ b/mobile/openapi/lib/model/download_files_dto.dart @@ -49,7 +49,7 @@ class DownloadFilesDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "DownloadFilesDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "DownloadFilesDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "DownloadFilesDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/exif_response_dto.dart b/mobile/openapi/lib/model/exif_response_dto.dart index 96b727434a92e..0381eaff096ef 100644 --- a/mobile/openapi/lib/model/exif_response_dto.dart +++ b/mobile/openapi/lib/model/exif_response_dto.dart @@ -243,7 +243,7 @@ class ExifResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "ExifResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "ExifResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "ExifResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/get_asset_by_time_bucket_dto.dart b/mobile/openapi/lib/model/get_asset_by_time_bucket_dto.dart index 8301132ac5da8..445d045538a7e 100644 --- a/mobile/openapi/lib/model/get_asset_by_time_bucket_dto.dart +++ b/mobile/openapi/lib/model/get_asset_by_time_bucket_dto.dart @@ -82,7 +82,7 @@ class GetAssetByTimeBucketDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "GetAssetByTimeBucketDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "GetAssetByTimeBucketDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "GetAssetByTimeBucketDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/get_asset_count_by_time_bucket_dto.dart b/mobile/openapi/lib/model/get_asset_count_by_time_bucket_dto.dart index 57e2836319573..9b033165cde9d 100644 --- a/mobile/openapi/lib/model/get_asset_count_by_time_bucket_dto.dart +++ b/mobile/openapi/lib/model/get_asset_count_by_time_bucket_dto.dart @@ -82,7 +82,7 @@ class GetAssetCountByTimeBucketDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "GetAssetCountByTimeBucketDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "GetAssetCountByTimeBucketDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "GetAssetCountByTimeBucketDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/import_asset_dto.dart b/mobile/openapi/lib/model/import_asset_dto.dart index bb322ba816ff6..bb80e82aa2f6a 100644 --- a/mobile/openapi/lib/model/import_asset_dto.dart +++ b/mobile/openapi/lib/model/import_asset_dto.dart @@ -155,7 +155,7 @@ class ImportAssetDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "ImportAssetDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "ImportAssetDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "ImportAssetDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/job_command_dto.dart b/mobile/openapi/lib/model/job_command_dto.dart index d12037664b65a..fc9805efb726f 100644 --- a/mobile/openapi/lib/model/job_command_dto.dart +++ b/mobile/openapi/lib/model/job_command_dto.dart @@ -55,7 +55,7 @@ class JobCommandDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "JobCommandDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "JobCommandDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "JobCommandDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/job_counts_dto.dart b/mobile/openapi/lib/model/job_counts_dto.dart index 936ef7546188e..af4fceda348c0 100644 --- a/mobile/openapi/lib/model/job_counts_dto.dart +++ b/mobile/openapi/lib/model/job_counts_dto.dart @@ -79,7 +79,7 @@ class JobCountsDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "JobCountsDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "JobCountsDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "JobCountsDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/job_settings_dto.dart b/mobile/openapi/lib/model/job_settings_dto.dart index dd9f82f3a8da4..5bc68cf2c95e2 100644 --- a/mobile/openapi/lib/model/job_settings_dto.dart +++ b/mobile/openapi/lib/model/job_settings_dto.dart @@ -49,7 +49,7 @@ class JobSettingsDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "JobSettingsDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "JobSettingsDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "JobSettingsDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/job_status_dto.dart b/mobile/openapi/lib/model/job_status_dto.dart index 47abf75827363..1a40da6ba5cb5 100644 --- a/mobile/openapi/lib/model/job_status_dto.dart +++ b/mobile/openapi/lib/model/job_status_dto.dart @@ -55,7 +55,7 @@ class JobStatusDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "JobStatusDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "JobStatusDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "JobStatusDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/login_credential_dto.dart b/mobile/openapi/lib/model/login_credential_dto.dart index 381c455d477a8..b2cfae5c62724 100644 --- a/mobile/openapi/lib/model/login_credential_dto.dart +++ b/mobile/openapi/lib/model/login_credential_dto.dart @@ -55,7 +55,7 @@ class LoginCredentialDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "LoginCredentialDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "LoginCredentialDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "LoginCredentialDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/login_response_dto.dart b/mobile/openapi/lib/model/login_response_dto.dart index ec8e858ed5ccc..e396d3e38d9e5 100644 --- a/mobile/openapi/lib/model/login_response_dto.dart +++ b/mobile/openapi/lib/model/login_response_dto.dart @@ -91,7 +91,7 @@ class LoginResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "LoginResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "LoginResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "LoginResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/logout_response_dto.dart b/mobile/openapi/lib/model/logout_response_dto.dart index 1280b7492721d..de09872ac5d03 100644 --- a/mobile/openapi/lib/model/logout_response_dto.dart +++ b/mobile/openapi/lib/model/logout_response_dto.dart @@ -55,7 +55,7 @@ class LogoutResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "LogoutResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "LogoutResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "LogoutResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/map_marker_response_dto.dart b/mobile/openapi/lib/model/map_marker_response_dto.dart index f094c8be76adc..2b0ec734775f2 100644 --- a/mobile/openapi/lib/model/map_marker_response_dto.dart +++ b/mobile/openapi/lib/model/map_marker_response_dto.dart @@ -61,7 +61,7 @@ class MapMarkerResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "MapMarkerResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "MapMarkerResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "MapMarkerResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/memory_lane_response_dto.dart b/mobile/openapi/lib/model/memory_lane_response_dto.dart index 22987b29b807b..5e234dc0a11aa 100644 --- a/mobile/openapi/lib/model/memory_lane_response_dto.dart +++ b/mobile/openapi/lib/model/memory_lane_response_dto.dart @@ -55,7 +55,7 @@ class MemoryLaneResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "MemoryLaneResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "MemoryLaneResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "MemoryLaneResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/o_auth_callback_dto.dart b/mobile/openapi/lib/model/o_auth_callback_dto.dart index ee1ba0e41fd18..14fb79a35d6c8 100644 --- a/mobile/openapi/lib/model/o_auth_callback_dto.dart +++ b/mobile/openapi/lib/model/o_auth_callback_dto.dart @@ -49,7 +49,7 @@ class OAuthCallbackDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "OAuthCallbackDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "OAuthCallbackDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "OAuthCallbackDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/o_auth_config_dto.dart b/mobile/openapi/lib/model/o_auth_config_dto.dart index 827427515f772..d624f0ca55eaf 100644 --- a/mobile/openapi/lib/model/o_auth_config_dto.dart +++ b/mobile/openapi/lib/model/o_auth_config_dto.dart @@ -49,7 +49,7 @@ class OAuthConfigDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "OAuthConfigDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "OAuthConfigDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "OAuthConfigDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/o_auth_config_response_dto.dart b/mobile/openapi/lib/model/o_auth_config_response_dto.dart index 949b31c18ad86..e2fea1a61343c 100644 --- a/mobile/openapi/lib/model/o_auth_config_response_dto.dart +++ b/mobile/openapi/lib/model/o_auth_config_response_dto.dart @@ -103,7 +103,7 @@ class OAuthConfigResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "OAuthConfigResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "OAuthConfigResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "OAuthConfigResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/person_response_dto.dart b/mobile/openapi/lib/model/person_response_dto.dart index 8e23656f79a97..e7d31f72d3b21 100644 --- a/mobile/openapi/lib/model/person_response_dto.dart +++ b/mobile/openapi/lib/model/person_response_dto.dart @@ -61,7 +61,7 @@ class PersonResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "PersonResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "PersonResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "PersonResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/person_update_dto.dart b/mobile/openapi/lib/model/person_update_dto.dart index 773cf6aedf202..55084d649ed7f 100644 --- a/mobile/openapi/lib/model/person_update_dto.dart +++ b/mobile/openapi/lib/model/person_update_dto.dart @@ -49,7 +49,7 @@ class PersonUpdateDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "PersonUpdateDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "PersonUpdateDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "PersonUpdateDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/queue_status_dto.dart b/mobile/openapi/lib/model/queue_status_dto.dart index 51100a545c9ca..ddc2f1e9acc4b 100644 --- a/mobile/openapi/lib/model/queue_status_dto.dart +++ b/mobile/openapi/lib/model/queue_status_dto.dart @@ -55,7 +55,7 @@ class QueueStatusDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "QueueStatusDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "QueueStatusDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "QueueStatusDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/remove_assets_dto.dart b/mobile/openapi/lib/model/remove_assets_dto.dart index 01eb558bd0664..6c486bdef5212 100644 --- a/mobile/openapi/lib/model/remove_assets_dto.dart +++ b/mobile/openapi/lib/model/remove_assets_dto.dart @@ -49,7 +49,7 @@ class RemoveAssetsDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "RemoveAssetsDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "RemoveAssetsDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "RemoveAssetsDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_album_response_dto.dart b/mobile/openapi/lib/model/search_album_response_dto.dart index 26ad86f1056c9..c78f31e9bb856 100644 --- a/mobile/openapi/lib/model/search_album_response_dto.dart +++ b/mobile/openapi/lib/model/search_album_response_dto.dart @@ -67,7 +67,7 @@ class SearchAlbumResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchAlbumResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchAlbumResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchAlbumResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_asset_dto.dart b/mobile/openapi/lib/model/search_asset_dto.dart index 561e43bab4b08..5906934928b93 100644 --- a/mobile/openapi/lib/model/search_asset_dto.dart +++ b/mobile/openapi/lib/model/search_asset_dto.dart @@ -49,7 +49,7 @@ class SearchAssetDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchAssetDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchAssetDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchAssetDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_asset_response_dto.dart b/mobile/openapi/lib/model/search_asset_response_dto.dart index 60bfd2d2c6dd2..7567193f7a8c4 100644 --- a/mobile/openapi/lib/model/search_asset_response_dto.dart +++ b/mobile/openapi/lib/model/search_asset_response_dto.dart @@ -67,7 +67,7 @@ class SearchAssetResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchAssetResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchAssetResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchAssetResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_config_response_dto.dart b/mobile/openapi/lib/model/search_config_response_dto.dart index 5ec94abca2c04..21213057ae3c5 100644 --- a/mobile/openapi/lib/model/search_config_response_dto.dart +++ b/mobile/openapi/lib/model/search_config_response_dto.dart @@ -49,7 +49,7 @@ class SearchConfigResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchConfigResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchConfigResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchConfigResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_explore_item.dart b/mobile/openapi/lib/model/search_explore_item.dart index 7e5fbed4d068f..3d3855ddfa22c 100644 --- a/mobile/openapi/lib/model/search_explore_item.dart +++ b/mobile/openapi/lib/model/search_explore_item.dart @@ -55,7 +55,7 @@ class SearchExploreItem { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchExploreItem[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchExploreItem[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchExploreItem[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_explore_response_dto.dart b/mobile/openapi/lib/model/search_explore_response_dto.dart index 1c30196b76f6e..cbc4345e285f0 100644 --- a/mobile/openapi/lib/model/search_explore_response_dto.dart +++ b/mobile/openapi/lib/model/search_explore_response_dto.dart @@ -55,7 +55,7 @@ class SearchExploreResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchExploreResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchExploreResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchExploreResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_facet_count_response_dto.dart b/mobile/openapi/lib/model/search_facet_count_response_dto.dart index 7b3f5868ca2ee..522e1a24283bb 100644 --- a/mobile/openapi/lib/model/search_facet_count_response_dto.dart +++ b/mobile/openapi/lib/model/search_facet_count_response_dto.dart @@ -55,7 +55,7 @@ class SearchFacetCountResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchFacetCountResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchFacetCountResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchFacetCountResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_facet_response_dto.dart b/mobile/openapi/lib/model/search_facet_response_dto.dart index 1eddd4181e17b..62d682f257ca6 100644 --- a/mobile/openapi/lib/model/search_facet_response_dto.dart +++ b/mobile/openapi/lib/model/search_facet_response_dto.dart @@ -55,7 +55,7 @@ class SearchFacetResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchFacetResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchFacetResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchFacetResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/search_response_dto.dart b/mobile/openapi/lib/model/search_response_dto.dart index 87e6edaf16fb6..9e657316ae284 100644 --- a/mobile/openapi/lib/model/search_response_dto.dart +++ b/mobile/openapi/lib/model/search_response_dto.dart @@ -55,7 +55,7 @@ class SearchResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SearchResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SearchResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SearchResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/server_info_response_dto.dart b/mobile/openapi/lib/model/server_info_response_dto.dart index be11babdd3845..ef6409b064061 100644 --- a/mobile/openapi/lib/model/server_info_response_dto.dart +++ b/mobile/openapi/lib/model/server_info_response_dto.dart @@ -85,7 +85,7 @@ class ServerInfoResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "ServerInfoResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "ServerInfoResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "ServerInfoResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/server_ping_response.dart b/mobile/openapi/lib/model/server_ping_response.dart index 20faa1a8be8fa..55386ebaf10af 100644 --- a/mobile/openapi/lib/model/server_ping_response.dart +++ b/mobile/openapi/lib/model/server_ping_response.dart @@ -49,7 +49,7 @@ class ServerPingResponse { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "ServerPingResponse[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "ServerPingResponse[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "ServerPingResponse[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/server_stats_response_dto.dart b/mobile/openapi/lib/model/server_stats_response_dto.dart index 1d37076e9b908..a9b861a8f592a 100644 --- a/mobile/openapi/lib/model/server_stats_response_dto.dart +++ b/mobile/openapi/lib/model/server_stats_response_dto.dart @@ -67,7 +67,7 @@ class ServerStatsResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "ServerStatsResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "ServerStatsResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "ServerStatsResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/server_version_reponse_dto.dart b/mobile/openapi/lib/model/server_version_reponse_dto.dart index 4071486d91a8e..a5dadac87ccb3 100644 --- a/mobile/openapi/lib/model/server_version_reponse_dto.dart +++ b/mobile/openapi/lib/model/server_version_reponse_dto.dart @@ -61,7 +61,7 @@ class ServerVersionReponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "ServerVersionReponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "ServerVersionReponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "ServerVersionReponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/shared_link_create_dto.dart b/mobile/openapi/lib/model/shared_link_create_dto.dart index c8d1c547a5baf..f890044443cc6 100644 --- a/mobile/openapi/lib/model/shared_link_create_dto.dart +++ b/mobile/openapi/lib/model/shared_link_create_dto.dart @@ -115,7 +115,7 @@ class SharedLinkCreateDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SharedLinkCreateDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SharedLinkCreateDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SharedLinkCreateDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/shared_link_edit_dto.dart b/mobile/openapi/lib/model/shared_link_edit_dto.dart index 5f031ca79236f..7d3c7c9cf92cd 100644 --- a/mobile/openapi/lib/model/shared_link_edit_dto.dart +++ b/mobile/openapi/lib/model/shared_link_edit_dto.dart @@ -117,7 +117,7 @@ class SharedLinkEditDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SharedLinkEditDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SharedLinkEditDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SharedLinkEditDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/shared_link_response_dto.dart b/mobile/openapi/lib/model/shared_link_response_dto.dart index 77b4a5016cf76..d353082a52e4b 100644 --- a/mobile/openapi/lib/model/shared_link_response_dto.dart +++ b/mobile/openapi/lib/model/shared_link_response_dto.dart @@ -133,7 +133,7 @@ class SharedLinkResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SharedLinkResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SharedLinkResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SharedLinkResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/sign_up_dto.dart b/mobile/openapi/lib/model/sign_up_dto.dart index a68c3d92f0f58..5a24144482ede 100644 --- a/mobile/openapi/lib/model/sign_up_dto.dart +++ b/mobile/openapi/lib/model/sign_up_dto.dart @@ -67,7 +67,7 @@ class SignUpDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SignUpDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SignUpDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SignUpDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/smart_info_response_dto.dart b/mobile/openapi/lib/model/smart_info_response_dto.dart index 22e7f8c1b967c..0cb5a70de93f4 100644 --- a/mobile/openapi/lib/model/smart_info_response_dto.dart +++ b/mobile/openapi/lib/model/smart_info_response_dto.dart @@ -63,7 +63,7 @@ class SmartInfoResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SmartInfoResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SmartInfoResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SmartInfoResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/system_config_dto.dart b/mobile/openapi/lib/model/system_config_dto.dart index 1cef06bd17edc..2e8688b34f78e 100644 --- a/mobile/openapi/lib/model/system_config_dto.dart +++ b/mobile/openapi/lib/model/system_config_dto.dart @@ -73,7 +73,7 @@ class SystemConfigDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SystemConfigDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SystemConfigDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SystemConfigDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart b/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart index cc11f47445399..e799b7477ff53 100644 --- a/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart +++ b/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart @@ -97,7 +97,7 @@ class SystemConfigFFmpegDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SystemConfigFFmpegDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SystemConfigFFmpegDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SystemConfigFFmpegDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/system_config_job_dto.dart b/mobile/openapi/lib/model/system_config_job_dto.dart index c902e50059b5b..8e9bfd40d4d9b 100644 --- a/mobile/openapi/lib/model/system_config_job_dto.dart +++ b/mobile/openapi/lib/model/system_config_job_dto.dart @@ -103,7 +103,7 @@ class SystemConfigJobDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SystemConfigJobDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SystemConfigJobDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SystemConfigJobDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/system_config_o_auth_dto.dart b/mobile/openapi/lib/model/system_config_o_auth_dto.dart index 5ce9e0abac45b..4fa7359e72831 100644 --- a/mobile/openapi/lib/model/system_config_o_auth_dto.dart +++ b/mobile/openapi/lib/model/system_config_o_auth_dto.dart @@ -103,7 +103,7 @@ class SystemConfigOAuthDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SystemConfigOAuthDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SystemConfigOAuthDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SystemConfigOAuthDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/system_config_password_login_dto.dart b/mobile/openapi/lib/model/system_config_password_login_dto.dart index 67cc5f6d70e89..e6622a937c134 100644 --- a/mobile/openapi/lib/model/system_config_password_login_dto.dart +++ b/mobile/openapi/lib/model/system_config_password_login_dto.dart @@ -49,7 +49,7 @@ class SystemConfigPasswordLoginDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SystemConfigPasswordLoginDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SystemConfigPasswordLoginDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SystemConfigPasswordLoginDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/system_config_storage_template_dto.dart b/mobile/openapi/lib/model/system_config_storage_template_dto.dart index c170ad07bf8c5..ae077c528bb1a 100644 --- a/mobile/openapi/lib/model/system_config_storage_template_dto.dart +++ b/mobile/openapi/lib/model/system_config_storage_template_dto.dart @@ -49,7 +49,7 @@ class SystemConfigStorageTemplateDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SystemConfigStorageTemplateDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SystemConfigStorageTemplateDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SystemConfigStorageTemplateDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart b/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart index 8ea0bdd38eda1..23e20dff95872 100644 --- a/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart +++ b/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart @@ -85,7 +85,7 @@ class SystemConfigTemplateStorageOptionDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "SystemConfigTemplateStorageOptionDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "SystemConfigTemplateStorageOptionDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "SystemConfigTemplateStorageOptionDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/tag_response_dto.dart b/mobile/openapi/lib/model/tag_response_dto.dart index 8c4dd45edeb91..30ff9b7aa3751 100644 --- a/mobile/openapi/lib/model/tag_response_dto.dart +++ b/mobile/openapi/lib/model/tag_response_dto.dart @@ -67,7 +67,7 @@ class TagResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "TagResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "TagResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "TagResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/update_album_dto.dart b/mobile/openapi/lib/model/update_album_dto.dart index 234e70bf7ca2b..671b45d8f4354 100644 --- a/mobile/openapi/lib/model/update_album_dto.dart +++ b/mobile/openapi/lib/model/update_album_dto.dart @@ -75,7 +75,7 @@ class UpdateAlbumDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "UpdateAlbumDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "UpdateAlbumDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "UpdateAlbumDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/update_asset_dto.dart b/mobile/openapi/lib/model/update_asset_dto.dart index 67e36d1a9a17a..4063f8a71de02 100644 --- a/mobile/openapi/lib/model/update_asset_dto.dart +++ b/mobile/openapi/lib/model/update_asset_dto.dart @@ -97,7 +97,7 @@ class UpdateAssetDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "UpdateAssetDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "UpdateAssetDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "UpdateAssetDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/update_tag_dto.dart b/mobile/openapi/lib/model/update_tag_dto.dart index 325131480f4cc..d9d3f48be34e0 100644 --- a/mobile/openapi/lib/model/update_tag_dto.dart +++ b/mobile/openapi/lib/model/update_tag_dto.dart @@ -59,7 +59,7 @@ class UpdateTagDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "UpdateTagDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "UpdateTagDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "UpdateTagDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/update_user_dto.dart b/mobile/openapi/lib/model/update_user_dto.dart index 1a77bd909226c..aa92fa64a699a 100644 --- a/mobile/openapi/lib/model/update_user_dto.dart +++ b/mobile/openapi/lib/model/update_user_dto.dart @@ -177,7 +177,7 @@ class UpdateUserDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "UpdateUserDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "UpdateUserDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "UpdateUserDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/usage_by_user_dto.dart b/mobile/openapi/lib/model/usage_by_user_dto.dart index fb23acc6f7c58..b95e979d46245 100644 --- a/mobile/openapi/lib/model/usage_by_user_dto.dart +++ b/mobile/openapi/lib/model/usage_by_user_dto.dart @@ -79,7 +79,7 @@ class UsageByUserDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "UsageByUserDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "UsageByUserDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "UsageByUserDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/user_count_response_dto.dart b/mobile/openapi/lib/model/user_count_response_dto.dart index a5005f184e6d5..61fe856d294e2 100644 --- a/mobile/openapi/lib/model/user_count_response_dto.dart +++ b/mobile/openapi/lib/model/user_count_response_dto.dart @@ -49,7 +49,7 @@ class UserCountResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "UserCountResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "UserCountResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "UserCountResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/user_response_dto.dart b/mobile/openapi/lib/model/user_response_dto.dart index 8765dc528d9b7..26363de859970 100644 --- a/mobile/openapi/lib/model/user_response_dto.dart +++ b/mobile/openapi/lib/model/user_response_dto.dart @@ -133,7 +133,7 @@ class UserResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "UserResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "UserResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "UserResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/mobile/openapi/lib/model/validate_access_token_response_dto.dart b/mobile/openapi/lib/model/validate_access_token_response_dto.dart index 7a39b7f509241..d7884d9c00790 100644 --- a/mobile/openapi/lib/model/validate_access_token_response_dto.dart +++ b/mobile/openapi/lib/model/validate_access_token_response_dto.dart @@ -49,7 +49,7 @@ class ValidateAccessTokenResponseDto { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "ValidateAccessTokenResponseDto[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "ValidateAccessTokenResponseDto[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "ValidateAccessTokenResponseDto[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache b/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache index 9dfc6931a7deb..83f4f0ded7403 100644 --- a/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache +++ b/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache @@ -120,7 +120,7 @@ class {{{classname}}} { assert(() { requiredKeys.forEach((key) { assert(json.containsKey(key), 'Required key "{{{classname}}}[$key]" is missing from JSON.'); - assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.'); + // assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.'); }); return true; }()); diff --git a/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache.patch b/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache.patch index 11ecf0271ccc9..67f0b2f8c7da1 100644 --- a/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache.patch +++ b/server/openapi-generator/templates/mobile/serialization/native/native_class.mustache.patch @@ -1,5 +1,5 @@ ---- native_class.mustache 2023-01-04 09:58:25.683944036 -0500 -+++ native_class1.mustache 2023-01-04 09:59:43.856353945 -0500 +--- native_class.mustache 2023-06-22 12:00:16.480685565 -0500 ++++ native_class1.mustache 2023-06-22 12:01:41.772534371 -0500 @@ -91,14 +91,14 @@ {{/isDateTime}} {{#isNullable}} @@ -17,3 +17,12 @@ } {{/defaultValue}} {{/required}} +@@ -120,7 +120,7 @@ + assert(() { + requiredKeys.forEach((key) { + assert(json.containsKey(key), 'Required key "{{{classname}}}[$key]" is missing from JSON.'); +- assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.'); ++ // assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.'); + }); + return true; + }());