mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	chore/remove openapi assertion for dart 2 (#2916)
* chore(server): patch dart openapi assertion 2 * removed usused file
This commit is contained in:
		
							parent
							
								
									4311d385fc
								
							
						
					
					
						commit
						751922990f
					
				
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/add_assets_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/add_assets_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class AddAssetsDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AddAssetsDto(
 | 
					      return AddAssetsDto(
 | 
				
			||||||
        assetIds: json[r'assetIds'] is Iterable
 | 
					        assetIds: json[r'assetIds'] is Iterable
 | 
				
			||||||
            ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
@ -65,17 +65,6 @@ class AddAssetsResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AddAssetsResponseDto(
 | 
					      return AddAssetsResponseDto(
 | 
				
			||||||
        successfullyAdded: mapValueOfType<int>(json, r'successfullyAdded')!,
 | 
					        successfullyAdded: mapValueOfType<int>(json, r'successfullyAdded')!,
 | 
				
			||||||
        alreadyInAlbum: json[r'alreadyInAlbum'] is Iterable
 | 
					        alreadyInAlbum: json[r'alreadyInAlbum'] is Iterable
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/add_users_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/add_users_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class AddUsersDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AddUsersDto(
 | 
					      return AddUsersDto(
 | 
				
			||||||
        sharedUserIds: json[r'sharedUserIds'] is Iterable
 | 
					        sharedUserIds: json[r'sharedUserIds'] is Iterable
 | 
				
			||||||
            ? (json[r'sharedUserIds'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'sharedUserIds'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
@ -67,17 +67,6 @@ class AdminSignupResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AdminSignupResponseDto(
 | 
					      return AdminSignupResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        email: mapValueOfType<String>(json, r'email')!,
 | 
					        email: mapValueOfType<String>(json, r'email')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -55,17 +55,6 @@ class AlbumCountResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AlbumCountResponseDto(
 | 
					      return AlbumCountResponseDto(
 | 
				
			||||||
        owned: mapValueOfType<int>(json, r'owned')!,
 | 
					        owned: mapValueOfType<int>(json, r'owned')!,
 | 
				
			||||||
        shared: mapValueOfType<int>(json, r'shared')!,
 | 
					        shared: mapValueOfType<int>(json, r'shared')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/album_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/album_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -123,17 +123,6 @@ class AlbumResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AlbumResponseDto(
 | 
					      return AlbumResponseDto(
 | 
				
			||||||
        assetCount: mapValueOfType<int>(json, r'assetCount')!,
 | 
					        assetCount: mapValueOfType<int>(json, r'assetCount')!,
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -97,17 +97,6 @@ class AllJobStatusResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AllJobStatusResponseDto(
 | 
					      return AllJobStatusResponseDto(
 | 
				
			||||||
        thumbnailGeneration: JobStatusDto.fromJson(json[r'thumbnailGeneration'])!,
 | 
					        thumbnailGeneration: JobStatusDto.fromJson(json[r'thumbnailGeneration'])!,
 | 
				
			||||||
        metadataExtraction: JobStatusDto.fromJson(json[r'metadataExtraction'])!,
 | 
					        metadataExtraction: JobStatusDto.fromJson(json[r'metadataExtraction'])!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/api_key_create_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/api_key_create_dto.dart
									
									
									
										generated
									
									
									
								
							@ -53,17 +53,6 @@ class APIKeyCreateDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return APIKeyCreateDto(
 | 
					      return APIKeyCreateDto(
 | 
				
			||||||
        name: mapValueOfType<String>(json, r'name'),
 | 
					        name: mapValueOfType<String>(json, r'name'),
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class APIKeyCreateResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return APIKeyCreateResponseDto(
 | 
					      return APIKeyCreateResponseDto(
 | 
				
			||||||
        secret: mapValueOfType<String>(json, r'secret')!,
 | 
					        secret: mapValueOfType<String>(json, r'secret')!,
 | 
				
			||||||
        apiKey: APIKeyResponseDto.fromJson(json[r'apiKey'])!,
 | 
					        apiKey: APIKeyResponseDto.fromJson(json[r'apiKey'])!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/api_key_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/api_key_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -61,17 +61,6 @@ class APIKeyResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return APIKeyResponseDto(
 | 
					      return APIKeyResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        name: mapValueOfType<String>(json, r'name')!,
 | 
					        name: mapValueOfType<String>(json, r'name')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/api_key_update_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/api_key_update_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class APIKeyUpdateDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return APIKeyUpdateDto(
 | 
					      return APIKeyUpdateDto(
 | 
				
			||||||
        name: mapValueOfType<String>(json, r'name')!,
 | 
					        name: mapValueOfType<String>(json, r'name')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -43,17 +43,6 @@ class AssetBulkUploadCheckDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetBulkUploadCheckDto(
 | 
					      return AssetBulkUploadCheckDto(
 | 
				
			||||||
        assets: AssetBulkUploadCheckItem.listFromJson(json[r'assets']),
 | 
					        assets: AssetBulkUploadCheckItem.listFromJson(json[r'assets']),
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -50,17 +50,6 @@ class AssetBulkUploadCheckItem {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetBulkUploadCheckItem(
 | 
					      return AssetBulkUploadCheckItem(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        checksum: mapValueOfType<String>(json, r'checksum')!,
 | 
					        checksum: mapValueOfType<String>(json, r'checksum')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -43,17 +43,6 @@ class AssetBulkUploadCheckResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetBulkUploadCheckResponseDto(
 | 
					      return AssetBulkUploadCheckResponseDto(
 | 
				
			||||||
        results: AssetBulkUploadCheckResult.listFromJson(json[r'results']),
 | 
					        results: AssetBulkUploadCheckResult.listFromJson(json[r'results']),
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -75,17 +75,6 @@ class AssetBulkUploadCheckResult {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetBulkUploadCheckResult(
 | 
					      return AssetBulkUploadCheckResult(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        action: AssetBulkUploadCheckResultActionEnum.fromJson(json[r'action'])!,
 | 
					        action: AssetBulkUploadCheckResultActionEnum.fromJson(json[r'action'])!,
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class AssetCountByTimeBucket {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetCountByTimeBucket(
 | 
					      return AssetCountByTimeBucket(
 | 
				
			||||||
        timeBucket: mapValueOfType<String>(json, r'timeBucket')!,
 | 
					        timeBucket: mapValueOfType<String>(json, r'timeBucket')!,
 | 
				
			||||||
        count: mapValueOfType<int>(json, r'count')!,
 | 
					        count: mapValueOfType<int>(json, r'count')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class AssetCountByTimeBucketResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetCountByTimeBucketResponseDto(
 | 
					      return AssetCountByTimeBucketResponseDto(
 | 
				
			||||||
        totalCount: mapValueOfType<int>(json, r'totalCount')!,
 | 
					        totalCount: mapValueOfType<int>(json, r'totalCount')!,
 | 
				
			||||||
        buckets: AssetCountByTimeBucket.listFromJson(json[r'buckets']),
 | 
					        buckets: AssetCountByTimeBucket.listFromJson(json[r'buckets']),
 | 
				
			||||||
 | 
				
			|||||||
@ -67,17 +67,6 @@ class AssetCountByUserIdResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetCountByUserIdResponseDto(
 | 
					      return AssetCountByUserIdResponseDto(
 | 
				
			||||||
        audio: mapValueOfType<int>(json, r'audio')!,
 | 
					        audio: mapValueOfType<int>(json, r'audio')!,
 | 
				
			||||||
        photos: mapValueOfType<int>(json, r'photos')!,
 | 
					        photos: mapValueOfType<int>(json, r'photos')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class AssetFileUploadResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetFileUploadResponseDto(
 | 
					      return AssetFileUploadResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        duplicate: mapValueOfType<bool>(json, r'duplicate')!,
 | 
					        duplicate: mapValueOfType<bool>(json, r'duplicate')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/asset_ids_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/asset_ids_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class AssetIdsDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetIdsDto(
 | 
					      return AssetIdsDto(
 | 
				
			||||||
        assetIds: json[r'assetIds'] is Iterable
 | 
					        assetIds: json[r'assetIds'] is Iterable
 | 
				
			||||||
            ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/asset_ids_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/asset_ids_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -59,17 +59,6 @@ class AssetIdsResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetIdsResponseDto(
 | 
					      return AssetIdsResponseDto(
 | 
				
			||||||
        assetId: mapValueOfType<String>(json, r'assetId')!,
 | 
					        assetId: mapValueOfType<String>(json, r'assetId')!,
 | 
				
			||||||
        success: mapValueOfType<bool>(json, r'success')!,
 | 
					        success: mapValueOfType<bool>(json, r'success')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/asset_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/asset_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -203,17 +203,6 @@ class AssetResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AssetResponseDto(
 | 
					      return AssetResponseDto(
 | 
				
			||||||
        type: AssetTypeEnum.fromJson(json[r'type'])!,
 | 
					        type: AssetTypeEnum.fromJson(json[r'type'])!,
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -73,17 +73,6 @@ class AuthDeviceResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return AuthDeviceResponseDto(
 | 
					      return AuthDeviceResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        createdAt: mapValueOfType<String>(json, r'createdAt')!,
 | 
					        createdAt: mapValueOfType<String>(json, r'createdAt')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/change_password_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/change_password_dto.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class ChangePasswordDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return ChangePasswordDto(
 | 
					      return ChangePasswordDto(
 | 
				
			||||||
        password: mapValueOfType<String>(json, r'password')!,
 | 
					        password: mapValueOfType<String>(json, r'password')!,
 | 
				
			||||||
        newPassword: mapValueOfType<String>(json, r'newPassword')!,
 | 
					        newPassword: mapValueOfType<String>(json, r'newPassword')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class CheckDuplicateAssetDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CheckDuplicateAssetDto(
 | 
					      return CheckDuplicateAssetDto(
 | 
				
			||||||
        deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!,
 | 
					        deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!,
 | 
				
			||||||
        deviceId: mapValueOfType<String>(json, r'deviceId')!,
 | 
					        deviceId: mapValueOfType<String>(json, r'deviceId')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -59,17 +59,6 @@ class CheckDuplicateAssetResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CheckDuplicateAssetResponseDto(
 | 
					      return CheckDuplicateAssetResponseDto(
 | 
				
			||||||
        isExist: mapValueOfType<bool>(json, r'isExist')!,
 | 
					        isExist: mapValueOfType<bool>(json, r'isExist')!,
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id'),
 | 
					        id: mapValueOfType<String>(json, r'id'),
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class CheckExistingAssetsDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CheckExistingAssetsDto(
 | 
					      return CheckExistingAssetsDto(
 | 
				
			||||||
        deviceAssetIds: json[r'deviceAssetIds'] is Iterable
 | 
					        deviceAssetIds: json[r'deviceAssetIds'] is Iterable
 | 
				
			||||||
            ? (json[r'deviceAssetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'deviceAssetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
@ -43,17 +43,6 @@ class CheckExistingAssetsResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CheckExistingAssetsResponseDto(
 | 
					      return CheckExistingAssetsResponseDto(
 | 
				
			||||||
        existingIds: json[r'existingIds'] is Iterable
 | 
					        existingIds: json[r'existingIds'] is Iterable
 | 
				
			||||||
            ? (json[r'existingIds'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'existingIds'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/create_album_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/create_album_dto.dart
									
									
									
										generated
									
									
									
								
							@ -55,17 +55,6 @@ class CreateAlbumDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CreateAlbumDto(
 | 
					      return CreateAlbumDto(
 | 
				
			||||||
        albumName: mapValueOfType<String>(json, r'albumName')!,
 | 
					        albumName: mapValueOfType<String>(json, r'albumName')!,
 | 
				
			||||||
        sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable
 | 
					        sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class CreateProfileImageResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CreateProfileImageResponseDto(
 | 
					      return CreateProfileImageResponseDto(
 | 
				
			||||||
        userId: mapValueOfType<String>(json, r'userId')!,
 | 
					        userId: mapValueOfType<String>(json, r'userId')!,
 | 
				
			||||||
        profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
 | 
					        profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/create_tag_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/create_tag_dto.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class CreateTagDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CreateTagDto(
 | 
					      return CreateTagDto(
 | 
				
			||||||
        type: TagTypeEnum.fromJson(json[r'type'])!,
 | 
					        type: TagTypeEnum.fromJson(json[r'type'])!,
 | 
				
			||||||
        name: mapValueOfType<String>(json, r'name')!,
 | 
					        name: mapValueOfType<String>(json, r'name')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/create_user_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/create_user_dto.dart
									
									
									
										generated
									
									
									
								
							@ -81,17 +81,6 @@ class CreateUserDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CreateUserDto(
 | 
					      return CreateUserDto(
 | 
				
			||||||
        email: mapValueOfType<String>(json, r'email')!,
 | 
					        email: mapValueOfType<String>(json, r'email')!,
 | 
				
			||||||
        password: mapValueOfType<String>(json, r'password')!,
 | 
					        password: mapValueOfType<String>(json, r'password')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -67,17 +67,6 @@ class CuratedLocationsResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CuratedLocationsResponseDto(
 | 
					      return CuratedLocationsResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        city: mapValueOfType<String>(json, r'city')!,
 | 
					        city: mapValueOfType<String>(json, r'city')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -67,17 +67,6 @@ class CuratedObjectsResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return CuratedObjectsResponseDto(
 | 
					      return CuratedObjectsResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        object: mapValueOfType<String>(json, r'object')!,
 | 
					        object: mapValueOfType<String>(json, r'object')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/delete_asset_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/delete_asset_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class DeleteAssetDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return DeleteAssetDto(
 | 
					      return DeleteAssetDto(
 | 
				
			||||||
        ids: json[r'ids'] is Iterable
 | 
					        ids: json[r'ids'] is Iterable
 | 
				
			||||||
            ? (json[r'ids'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'ids'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class DeleteAssetResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return DeleteAssetResponseDto(
 | 
					      return DeleteAssetResponseDto(
 | 
				
			||||||
        status: DeleteAssetStatus.fromJson(json[r'status'])!,
 | 
					        status: DeleteAssetStatus.fromJson(json[r'status'])!,
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/download_files_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/download_files_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class DownloadFilesDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return DownloadFilesDto(
 | 
					      return DownloadFilesDto(
 | 
				
			||||||
        assetIds: json[r'assetIds'] is Iterable
 | 
					        assetIds: json[r'assetIds'] is Iterable
 | 
				
			||||||
            ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/exif_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/exif_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -237,17 +237,6 @@ class ExifResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return ExifResponseDto(
 | 
					      return ExifResponseDto(
 | 
				
			||||||
        fileSizeInByte: mapValueOfType<int>(json, r'fileSizeInByte'),
 | 
					        fileSizeInByte: mapValueOfType<int>(json, r'fileSizeInByte'),
 | 
				
			||||||
        make: mapValueOfType<String>(json, r'make'),
 | 
					        make: mapValueOfType<String>(json, r'make'),
 | 
				
			||||||
 | 
				
			|||||||
@ -76,17 +76,6 @@ class GetAssetByTimeBucketDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return GetAssetByTimeBucketDto(
 | 
					      return GetAssetByTimeBucketDto(
 | 
				
			||||||
        timeBucket: json[r'timeBucket'] is Iterable
 | 
					        timeBucket: json[r'timeBucket'] is Iterable
 | 
				
			||||||
            ? (json[r'timeBucket'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'timeBucket'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
@ -76,17 +76,6 @@ class GetAssetCountByTimeBucketDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return GetAssetCountByTimeBucketDto(
 | 
					      return GetAssetCountByTimeBucketDto(
 | 
				
			||||||
        timeGroup: TimeGroupEnum.fromJson(json[r'timeGroup'])!,
 | 
					        timeGroup: TimeGroupEnum.fromJson(json[r'timeGroup'])!,
 | 
				
			||||||
        userId: mapValueOfType<String>(json, r'userId'),
 | 
					        userId: mapValueOfType<String>(json, r'userId'),
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/import_asset_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/import_asset_dto.dart
									
									
									
										generated
									
									
									
								
							@ -149,17 +149,6 @@ class ImportAssetDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return ImportAssetDto(
 | 
					      return ImportAssetDto(
 | 
				
			||||||
        assetType: AssetTypeEnum.fromJson(json[r'assetType'])!,
 | 
					        assetType: AssetTypeEnum.fromJson(json[r'assetType'])!,
 | 
				
			||||||
        isReadOnly: mapValueOfType<bool>(json, r'isReadOnly') ?? true,
 | 
					        isReadOnly: mapValueOfType<bool>(json, r'isReadOnly') ?? true,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/job_command_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/job_command_dto.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class JobCommandDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return JobCommandDto(
 | 
					      return JobCommandDto(
 | 
				
			||||||
        command: JobCommand.fromJson(json[r'command'])!,
 | 
					        command: JobCommand.fromJson(json[r'command'])!,
 | 
				
			||||||
        force: mapValueOfType<bool>(json, r'force')!,
 | 
					        force: mapValueOfType<bool>(json, r'force')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/job_counts_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/job_counts_dto.dart
									
									
									
										generated
									
									
									
								
							@ -73,17 +73,6 @@ class JobCountsDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return JobCountsDto(
 | 
					      return JobCountsDto(
 | 
				
			||||||
        active: mapValueOfType<int>(json, r'active')!,
 | 
					        active: mapValueOfType<int>(json, r'active')!,
 | 
				
			||||||
        completed: mapValueOfType<int>(json, r'completed')!,
 | 
					        completed: mapValueOfType<int>(json, r'completed')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/job_settings_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/job_settings_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class JobSettingsDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return JobSettingsDto(
 | 
					      return JobSettingsDto(
 | 
				
			||||||
        concurrency: mapValueOfType<int>(json, r'concurrency')!,
 | 
					        concurrency: mapValueOfType<int>(json, r'concurrency')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/job_status_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/job_status_dto.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class JobStatusDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return JobStatusDto(
 | 
					      return JobStatusDto(
 | 
				
			||||||
        jobCounts: JobCountsDto.fromJson(json[r'jobCounts'])!,
 | 
					        jobCounts: JobCountsDto.fromJson(json[r'jobCounts'])!,
 | 
				
			||||||
        queueStatus: QueueStatusDto.fromJson(json[r'queueStatus'])!,
 | 
					        queueStatus: QueueStatusDto.fromJson(json[r'queueStatus'])!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/login_credential_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/login_credential_dto.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class LoginCredentialDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return LoginCredentialDto(
 | 
					      return LoginCredentialDto(
 | 
				
			||||||
        email: mapValueOfType<String>(json, r'email')!,
 | 
					        email: mapValueOfType<String>(json, r'email')!,
 | 
				
			||||||
        password: mapValueOfType<String>(json, r'password')!,
 | 
					        password: mapValueOfType<String>(json, r'password')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/login_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/login_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -85,17 +85,6 @@ class LoginResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return LoginResponseDto(
 | 
					      return LoginResponseDto(
 | 
				
			||||||
        accessToken: mapValueOfType<String>(json, r'accessToken')!,
 | 
					        accessToken: mapValueOfType<String>(json, r'accessToken')!,
 | 
				
			||||||
        userId: mapValueOfType<String>(json, r'userId')!,
 | 
					        userId: mapValueOfType<String>(json, r'userId')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/logout_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/logout_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class LogoutResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return LogoutResponseDto(
 | 
					      return LogoutResponseDto(
 | 
				
			||||||
        successful: mapValueOfType<bool>(json, r'successful')!,
 | 
					        successful: mapValueOfType<bool>(json, r'successful')!,
 | 
				
			||||||
        redirectUri: mapValueOfType<String>(json, r'redirectUri')!,
 | 
					        redirectUri: mapValueOfType<String>(json, r'redirectUri')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -55,17 +55,6 @@ class MapMarkerResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return MapMarkerResponseDto(
 | 
					      return MapMarkerResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        lat: mapValueOfType<double>(json, r'lat')!,
 | 
					        lat: mapValueOfType<double>(json, r'lat')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class MemoryLaneResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return MemoryLaneResponseDto(
 | 
					      return MemoryLaneResponseDto(
 | 
				
			||||||
        title: mapValueOfType<String>(json, r'title')!,
 | 
					        title: mapValueOfType<String>(json, r'title')!,
 | 
				
			||||||
        assets: AssetResponseDto.listFromJson(json[r'assets']),
 | 
					        assets: AssetResponseDto.listFromJson(json[r'assets']),
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/o_auth_callback_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/o_auth_callback_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class OAuthCallbackDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return OAuthCallbackDto(
 | 
					      return OAuthCallbackDto(
 | 
				
			||||||
        url: mapValueOfType<String>(json, r'url')!,
 | 
					        url: mapValueOfType<String>(json, r'url')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/o_auth_config_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/o_auth_config_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class OAuthConfigDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return OAuthConfigDto(
 | 
					      return OAuthConfigDto(
 | 
				
			||||||
        redirectUri: mapValueOfType<String>(json, r'redirectUri')!,
 | 
					        redirectUri: mapValueOfType<String>(json, r'redirectUri')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -97,17 +97,6 @@ class OAuthConfigResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return OAuthConfigResponseDto(
 | 
					      return OAuthConfigResponseDto(
 | 
				
			||||||
        enabled: mapValueOfType<bool>(json, r'enabled')!,
 | 
					        enabled: mapValueOfType<bool>(json, r'enabled')!,
 | 
				
			||||||
        passwordLoginEnabled: mapValueOfType<bool>(json, r'passwordLoginEnabled')!,
 | 
					        passwordLoginEnabled: mapValueOfType<bool>(json, r'passwordLoginEnabled')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/person_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/person_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -55,17 +55,6 @@ class PersonResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return PersonResponseDto(
 | 
					      return PersonResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        name: mapValueOfType<String>(json, r'name')!,
 | 
					        name: mapValueOfType<String>(json, r'name')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/person_update_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/person_update_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class PersonUpdateDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return PersonUpdateDto(
 | 
					      return PersonUpdateDto(
 | 
				
			||||||
        name: mapValueOfType<String>(json, r'name')!,
 | 
					        name: mapValueOfType<String>(json, r'name')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/queue_status_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/queue_status_dto.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class QueueStatusDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return QueueStatusDto(
 | 
					      return QueueStatusDto(
 | 
				
			||||||
        isActive: mapValueOfType<bool>(json, r'isActive')!,
 | 
					        isActive: mapValueOfType<bool>(json, r'isActive')!,
 | 
				
			||||||
        isPaused: mapValueOfType<bool>(json, r'isPaused')!,
 | 
					        isPaused: mapValueOfType<bool>(json, r'isPaused')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/remove_assets_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/remove_assets_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class RemoveAssetsDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return RemoveAssetsDto(
 | 
					      return RemoveAssetsDto(
 | 
				
			||||||
        assetIds: json[r'assetIds'] is Iterable
 | 
					        assetIds: json[r'assetIds'] is Iterable
 | 
				
			||||||
            ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
@ -61,17 +61,6 @@ class SearchAlbumResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchAlbumResponseDto(
 | 
					      return SearchAlbumResponseDto(
 | 
				
			||||||
        total: mapValueOfType<int>(json, r'total')!,
 | 
					        total: mapValueOfType<int>(json, r'total')!,
 | 
				
			||||||
        count: mapValueOfType<int>(json, r'count')!,
 | 
					        count: mapValueOfType<int>(json, r'count')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/search_asset_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/search_asset_dto.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class SearchAssetDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchAssetDto(
 | 
					      return SearchAssetDto(
 | 
				
			||||||
        searchTerm: mapValueOfType<String>(json, r'searchTerm')!,
 | 
					        searchTerm: mapValueOfType<String>(json, r'searchTerm')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -61,17 +61,6 @@ class SearchAssetResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchAssetResponseDto(
 | 
					      return SearchAssetResponseDto(
 | 
				
			||||||
        total: mapValueOfType<int>(json, r'total')!,
 | 
					        total: mapValueOfType<int>(json, r'total')!,
 | 
				
			||||||
        count: mapValueOfType<int>(json, r'count')!,
 | 
					        count: mapValueOfType<int>(json, r'count')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -43,17 +43,6 @@ class SearchConfigResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchConfigResponseDto(
 | 
					      return SearchConfigResponseDto(
 | 
				
			||||||
        enabled: mapValueOfType<bool>(json, r'enabled')!,
 | 
					        enabled: mapValueOfType<bool>(json, r'enabled')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/search_explore_item.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/search_explore_item.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class SearchExploreItem {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchExploreItem(
 | 
					      return SearchExploreItem(
 | 
				
			||||||
        value: mapValueOfType<String>(json, r'value')!,
 | 
					        value: mapValueOfType<String>(json, r'value')!,
 | 
				
			||||||
        data: AssetResponseDto.fromJson(json[r'data'])!,
 | 
					        data: AssetResponseDto.fromJson(json[r'data'])!,
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class SearchExploreResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchExploreResponseDto(
 | 
					      return SearchExploreResponseDto(
 | 
				
			||||||
        fieldName: mapValueOfType<String>(json, r'fieldName')!,
 | 
					        fieldName: mapValueOfType<String>(json, r'fieldName')!,
 | 
				
			||||||
        items: SearchExploreItem.listFromJson(json[r'items']),
 | 
					        items: SearchExploreItem.listFromJson(json[r'items']),
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class SearchFacetCountResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchFacetCountResponseDto(
 | 
					      return SearchFacetCountResponseDto(
 | 
				
			||||||
        count: mapValueOfType<int>(json, r'count')!,
 | 
					        count: mapValueOfType<int>(json, r'count')!,
 | 
				
			||||||
        value: mapValueOfType<String>(json, r'value')!,
 | 
					        value: mapValueOfType<String>(json, r'value')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -49,17 +49,6 @@ class SearchFacetResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchFacetResponseDto(
 | 
					      return SearchFacetResponseDto(
 | 
				
			||||||
        fieldName: mapValueOfType<String>(json, r'fieldName')!,
 | 
					        fieldName: mapValueOfType<String>(json, r'fieldName')!,
 | 
				
			||||||
        counts: SearchFacetCountResponseDto.listFromJson(json[r'counts']),
 | 
					        counts: SearchFacetCountResponseDto.listFromJson(json[r'counts']),
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/search_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/search_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -49,17 +49,6 @@ class SearchResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SearchResponseDto(
 | 
					      return SearchResponseDto(
 | 
				
			||||||
        albums: SearchAlbumResponseDto.fromJson(json[r'albums'])!,
 | 
					        albums: SearchAlbumResponseDto.fromJson(json[r'albums'])!,
 | 
				
			||||||
        assets: SearchAssetResponseDto.fromJson(json[r'assets'])!,
 | 
					        assets: SearchAssetResponseDto.fromJson(json[r'assets'])!,
 | 
				
			||||||
 | 
				
			|||||||
@ -79,17 +79,6 @@ class ServerInfoResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return ServerInfoResponseDto(
 | 
					      return ServerInfoResponseDto(
 | 
				
			||||||
        diskSizeRaw: mapValueOfType<int>(json, r'diskSizeRaw')!,
 | 
					        diskSizeRaw: mapValueOfType<int>(json, r'diskSizeRaw')!,
 | 
				
			||||||
        diskUseRaw: mapValueOfType<int>(json, r'diskUseRaw')!,
 | 
					        diskUseRaw: mapValueOfType<int>(json, r'diskUseRaw')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/server_ping_response.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/server_ping_response.dart
									
									
									
										generated
									
									
									
								
							@ -43,17 +43,6 @@ class ServerPingResponse {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return ServerPingResponse(
 | 
					      return ServerPingResponse(
 | 
				
			||||||
        res: mapValueOfType<String>(json, r'res')!,
 | 
					        res: mapValueOfType<String>(json, r'res')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -61,17 +61,6 @@ class ServerStatsResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return ServerStatsResponseDto(
 | 
					      return ServerStatsResponseDto(
 | 
				
			||||||
        photos: mapValueOfType<int>(json, r'photos')!,
 | 
					        photos: mapValueOfType<int>(json, r'photos')!,
 | 
				
			||||||
        videos: mapValueOfType<int>(json, r'videos')!,
 | 
					        videos: mapValueOfType<int>(json, r'videos')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -55,17 +55,6 @@ class ServerVersionReponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return ServerVersionReponseDto(
 | 
					      return ServerVersionReponseDto(
 | 
				
			||||||
        major: mapValueOfType<int>(json, r'major')!,
 | 
					        major: mapValueOfType<int>(json, r'major')!,
 | 
				
			||||||
        minor: mapValueOfType<int>(json, r'minor')!,
 | 
					        minor: mapValueOfType<int>(json, r'minor')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/shared_link_create_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/shared_link_create_dto.dart
									
									
									
										generated
									
									
									
								
							@ -109,17 +109,6 @@ class SharedLinkCreateDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SharedLinkCreateDto(
 | 
					      return SharedLinkCreateDto(
 | 
				
			||||||
        type: SharedLinkType.fromJson(json[r'type'])!,
 | 
					        type: SharedLinkType.fromJson(json[r'type'])!,
 | 
				
			||||||
        assetIds: json[r'assetIds'] is Iterable
 | 
					        assetIds: json[r'assetIds'] is Iterable
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/shared_link_edit_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/shared_link_edit_dto.dart
									
									
									
										generated
									
									
									
								
							@ -111,17 +111,6 @@ class SharedLinkEditDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SharedLinkEditDto(
 | 
					      return SharedLinkEditDto(
 | 
				
			||||||
        description: mapValueOfType<String>(json, r'description'),
 | 
					        description: mapValueOfType<String>(json, r'description'),
 | 
				
			||||||
        expiresAt: mapDateTime(json, r'expiresAt', ''),
 | 
					        expiresAt: mapDateTime(json, r'expiresAt', ''),
 | 
				
			||||||
 | 
				
			|||||||
@ -127,17 +127,6 @@ class SharedLinkResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SharedLinkResponseDto(
 | 
					      return SharedLinkResponseDto(
 | 
				
			||||||
        type: SharedLinkType.fromJson(json[r'type'])!,
 | 
					        type: SharedLinkType.fromJson(json[r'type'])!,
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/sign_up_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/sign_up_dto.dart
									
									
									
										generated
									
									
									
								
							@ -61,17 +61,6 @@ class SignUpDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SignUpDto(
 | 
					      return SignUpDto(
 | 
				
			||||||
        email: mapValueOfType<String>(json, r'email')!,
 | 
					        email: mapValueOfType<String>(json, r'email')!,
 | 
				
			||||||
        password: mapValueOfType<String>(json, r'password')!,
 | 
					        password: mapValueOfType<String>(json, r'password')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -57,17 +57,6 @@ class SmartInfoResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SmartInfoResponseDto(
 | 
					      return SmartInfoResponseDto(
 | 
				
			||||||
        tags: json[r'tags'] is Iterable
 | 
					        tags: json[r'tags'] is Iterable
 | 
				
			||||||
            ? (json[r'tags'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'tags'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/system_config_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/system_config_dto.dart
									
									
									
										generated
									
									
									
								
							@ -67,17 +67,6 @@ class SystemConfigDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SystemConfigDto(
 | 
					      return SystemConfigDto(
 | 
				
			||||||
        ffmpeg: SystemConfigFFmpegDto.fromJson(json[r'ffmpeg'])!,
 | 
					        ffmpeg: SystemConfigFFmpegDto.fromJson(json[r'ffmpeg'])!,
 | 
				
			||||||
        oauth: SystemConfigOAuthDto.fromJson(json[r'oauth'])!,
 | 
					        oauth: SystemConfigOAuthDto.fromJson(json[r'oauth'])!,
 | 
				
			||||||
 | 
				
			|||||||
@ -91,17 +91,6 @@ class SystemConfigFFmpegDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SystemConfigFFmpegDto(
 | 
					      return SystemConfigFFmpegDto(
 | 
				
			||||||
        crf: mapValueOfType<int>(json, r'crf')!,
 | 
					        crf: mapValueOfType<int>(json, r'crf')!,
 | 
				
			||||||
        threads: mapValueOfType<int>(json, r'threads')!,
 | 
					        threads: mapValueOfType<int>(json, r'threads')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/system_config_job_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/system_config_job_dto.dart
									
									
									
										generated
									
									
									
								
							@ -97,17 +97,6 @@ class SystemConfigJobDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SystemConfigJobDto(
 | 
					      return SystemConfigJobDto(
 | 
				
			||||||
        thumbnailGeneration: JobSettingsDto.fromJson(json[r'thumbnailGeneration'])!,
 | 
					        thumbnailGeneration: JobSettingsDto.fromJson(json[r'thumbnailGeneration'])!,
 | 
				
			||||||
        metadataExtraction: JobSettingsDto.fromJson(json[r'metadataExtraction'])!,
 | 
					        metadataExtraction: JobSettingsDto.fromJson(json[r'metadataExtraction'])!,
 | 
				
			||||||
 | 
				
			|||||||
@ -97,17 +97,6 @@ class SystemConfigOAuthDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SystemConfigOAuthDto(
 | 
					      return SystemConfigOAuthDto(
 | 
				
			||||||
        enabled: mapValueOfType<bool>(json, r'enabled')!,
 | 
					        enabled: mapValueOfType<bool>(json, r'enabled')!,
 | 
				
			||||||
        issuerUrl: mapValueOfType<String>(json, r'issuerUrl')!,
 | 
					        issuerUrl: mapValueOfType<String>(json, r'issuerUrl')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -43,17 +43,6 @@ class SystemConfigPasswordLoginDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SystemConfigPasswordLoginDto(
 | 
					      return SystemConfigPasswordLoginDto(
 | 
				
			||||||
        enabled: mapValueOfType<bool>(json, r'enabled')!,
 | 
					        enabled: mapValueOfType<bool>(json, r'enabled')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -43,17 +43,6 @@ class SystemConfigStorageTemplateDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SystemConfigStorageTemplateDto(
 | 
					      return SystemConfigStorageTemplateDto(
 | 
				
			||||||
        template: mapValueOfType<String>(json, r'template')!,
 | 
					        template: mapValueOfType<String>(json, r'template')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -79,17 +79,6 @@ class SystemConfigTemplateStorageOptionDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return SystemConfigTemplateStorageOptionDto(
 | 
					      return SystemConfigTemplateStorageOptionDto(
 | 
				
			||||||
        yearOptions: json[r'yearOptions'] is Iterable
 | 
					        yearOptions: json[r'yearOptions'] is Iterable
 | 
				
			||||||
            ? (json[r'yearOptions'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'yearOptions'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/tag_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/tag_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -61,17 +61,6 @@ class TagResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return TagResponseDto(
 | 
					      return TagResponseDto(
 | 
				
			||||||
        type: TagTypeEnum.fromJson(json[r'type'])!,
 | 
					        type: TagTypeEnum.fromJson(json[r'type'])!,
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/update_album_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/update_album_dto.dart
									
									
									
										generated
									
									
									
								
							@ -69,17 +69,6 @@ class UpdateAlbumDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return UpdateAlbumDto(
 | 
					      return UpdateAlbumDto(
 | 
				
			||||||
        albumName: mapValueOfType<String>(json, r'albumName'),
 | 
					        albumName: mapValueOfType<String>(json, r'albumName'),
 | 
				
			||||||
        albumThumbnailAssetId: mapValueOfType<String>(json, r'albumThumbnailAssetId'),
 | 
					        albumThumbnailAssetId: mapValueOfType<String>(json, r'albumThumbnailAssetId'),
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/update_asset_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/update_asset_dto.dart
									
									
									
										generated
									
									
									
								
							@ -91,17 +91,6 @@ class UpdateAssetDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return UpdateAssetDto(
 | 
					      return UpdateAssetDto(
 | 
				
			||||||
        tagIds: json[r'tagIds'] is Iterable
 | 
					        tagIds: json[r'tagIds'] is Iterable
 | 
				
			||||||
            ? (json[r'tagIds'] as Iterable).cast<String>().toList(growable: false)
 | 
					            ? (json[r'tagIds'] as Iterable).cast<String>().toList(growable: false)
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/update_tag_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/update_tag_dto.dart
									
									
									
										generated
									
									
									
								
							@ -53,17 +53,6 @@ class UpdateTagDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return UpdateTagDto(
 | 
					      return UpdateTagDto(
 | 
				
			||||||
        name: mapValueOfType<String>(json, r'name'),
 | 
					        name: mapValueOfType<String>(json, r'name'),
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/update_user_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/update_user_dto.dart
									
									
									
										generated
									
									
									
								
							@ -171,17 +171,6 @@ class UpdateUserDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return UpdateUserDto(
 | 
					      return UpdateUserDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        email: mapValueOfType<String>(json, r'email'),
 | 
					        email: mapValueOfType<String>(json, r'email'),
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/usage_by_user_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/usage_by_user_dto.dart
									
									
									
										generated
									
									
									
								
							@ -73,17 +73,6 @@ class UsageByUserDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return UsageByUserDto(
 | 
					      return UsageByUserDto(
 | 
				
			||||||
        userId: mapValueOfType<String>(json, r'userId')!,
 | 
					        userId: mapValueOfType<String>(json, r'userId')!,
 | 
				
			||||||
        userFirstName: mapValueOfType<String>(json, r'userFirstName')!,
 | 
					        userFirstName: mapValueOfType<String>(json, r'userFirstName')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -43,17 +43,6 @@ class UserCountResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return UserCountResponseDto(
 | 
					      return UserCountResponseDto(
 | 
				
			||||||
        userCount: mapValueOfType<int>(json, r'userCount')!,
 | 
					        userCount: mapValueOfType<int>(json, r'userCount')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								mobile/openapi/lib/model/user_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11
									
								
								mobile/openapi/lib/model/user_response_dto.dart
									
									
									
										generated
									
									
									
								
							@ -127,17 +127,6 @@ class UserResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return UserResponseDto(
 | 
					      return UserResponseDto(
 | 
				
			||||||
        id: mapValueOfType<String>(json, r'id')!,
 | 
					        id: mapValueOfType<String>(json, r'id')!,
 | 
				
			||||||
        email: mapValueOfType<String>(json, r'email')!,
 | 
					        email: mapValueOfType<String>(json, r'email')!,
 | 
				
			||||||
 | 
				
			|||||||
@ -43,17 +43,6 @@ class ValidateAccessTokenResponseDto {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return ValidateAccessTokenResponseDto(
 | 
					      return ValidateAccessTokenResponseDto(
 | 
				
			||||||
        authStatus: mapValueOfType<bool>(json, r'authStatus')!,
 | 
					        authStatus: mapValueOfType<bool>(json, r'authStatus')!,
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
 | 
				
			|||||||
@ -114,17 +114,6 @@ class {{{classname}}} {
 | 
				
			|||||||
    if (value is Map) {
 | 
					    if (value is Map) {
 | 
				
			||||||
      final json = value.cast<String, dynamic>();
 | 
					      final json = value.cast<String, dynamic>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Ensure that the map contains the required keys.
 | 
					 | 
				
			||||||
      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
					 | 
				
			||||||
      // Note 2: this code is stripped in release mode!
 | 
					 | 
				
			||||||
      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.');
 | 
					 | 
				
			||||||
        });
 | 
					 | 
				
			||||||
        return true;
 | 
					 | 
				
			||||||
      }());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      return {{{classname}}}(
 | 
					      return {{{classname}}}(
 | 
				
			||||||
  {{#vars}}
 | 
					  {{#vars}}
 | 
				
			||||||
    {{#isDateTime}}
 | 
					    {{#isDateTime}}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
--- native_class.mustache	2023-06-22 12:00:16.480685565 -0500
 | 
					--- native_class.mustache	2023-06-22 12:56:11.090350406 -0500
 | 
				
			||||||
+++ native_class1.mustache	2023-06-22 12:01:41.772534371 -0500
 | 
					+++ native_class1.mustache	2023-06-22 12:57:14.498184792 -0500
 | 
				
			||||||
@@ -91,14 +91,14 @@
 | 
					@@ -91,14 +91,14 @@
 | 
				
			||||||
     {{/isDateTime}}
 | 
					     {{/isDateTime}}
 | 
				
			||||||
     {{#isNullable}}
 | 
					     {{#isNullable}}
 | 
				
			||||||
@ -17,12 +17,21 @@
 | 
				
			|||||||
     }
 | 
					     }
 | 
				
			||||||
         {{/defaultValue}}
 | 
					         {{/defaultValue}}
 | 
				
			||||||
       {{/required}}
 | 
					       {{/required}}
 | 
				
			||||||
@@ -120,7 +120,7 @@
 | 
					@@ -114,17 +114,6 @@
 | 
				
			||||||
       assert(() {
 | 
					     if (value is Map) {
 | 
				
			||||||
         requiredKeys.forEach((key) {
 | 
					       final json = value.cast<String, dynamic>();
 | 
				
			||||||
           assert(json.containsKey(key), 'Required key "{{{classname}}}[$key]" is missing from JSON.');
 | 
					 
 | 
				
			||||||
 | 
					-      // Ensure that the map contains the required keys.
 | 
				
			||||||
 | 
					-      // Note 1: the values aren't checked for validity beyond being non-null.
 | 
				
			||||||
 | 
					-      // Note 2: this code is stripped in release mode!
 | 
				
			||||||
 | 
					-      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.');
 | 
				
			||||||
+          // assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
 | 
					-        });
 | 
				
			||||||
         });
 | 
					-        return true;
 | 
				
			||||||
         return true;
 | 
					-      }());
 | 
				
			||||||
       }());
 | 
					-
 | 
				
			||||||
 | 
					       return {{{classname}}}(
 | 
				
			||||||
 | 
					   {{#vars}}
 | 
				
			||||||
 | 
					     {{#isDateTime}}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user