// GENERATED CODE - DO NOT MODIFY BY HAND part of 'seerr_service.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** SeerrServiceInstance _$SeerrServiceInstanceFromJson( Map json, ) => SeerrServiceInstance( id: (json['id'] as num).toInt(), name: json['name'] as String?, is4k: json['is4k'] as bool? ?? false, isDefault: json['isDefault'] as bool? ?? false, activeDirectory: json['activeDirectory'] as String?, activeProfileId: (json['activeProfileId'] as num?)?.toInt(), activeLanguageProfileId: (json['activeLanguageProfileId'] as num?)?.toInt(), ); SeerrServiceDetail _$SeerrServiceDetailFromJson(Map json) => SeerrServiceDetail( server: json['server'] == null ? null : SeerrServiceInstance.fromJson( json['server'] as Map, ), profiles: (json['profiles'] as List?) ?.map((e) => SeerrServiceProfile.fromJson(e as Map)) .toList(), rootFolders: (json['rootFolders'] as List?) ?.map((e) => SeerrRootFolder.fromJson(e as Map)) .toList(), languageProfiles: (json['languageProfiles'] as List?) ?.map((e) => SeerrServiceProfile.fromJson(e as Map)) .toList(), ); SeerrServiceProfile _$SeerrServiceProfileFromJson(Map json) => SeerrServiceProfile( id: (json['id'] as num).toInt(), name: json['name'] as String?, ); SeerrRootFolder _$SeerrRootFolderFromJson(Map json) => SeerrRootFolder( id: (json['id'] as num).toInt(), path: json['path'] as String?, );