anchor.diff:        syncId: syncId,
       );
   
  -    MetadataItem metadataItem =
  -        MetadataItemModel.fromJson(metadataItemJson['response']['data']);
  +    Map<String, dynamic> metadataMap = metadataItemJson['response']['data'];
   
  -    return metadataItem;
  +    if (metadataMap.isEmpty) {
  +      throw MetadataEmptyException;
  +    } else {
  +      MetadataItem metadataItem = MetadataItemModel.fromJson(metadataMap);
  +
  +      return metadataItem;
  +    }
     }
   }
  
positive.code: import 'package:meta/meta.dart';
  
  import '../../../../core/api/tautulli_api.dart';
  import '../../domain/entities/metadata_item.dart';
  import '../models/metadata_item_model.dart';
  
  
negative.code: 
    @override
    Future<MetadataItem> getMetadata({
      @required String tautulliId,
      int ratingKey,
      int syncId,
    }) async {
  