anchor.diff:          return null;
         }
         // Only add nodes that match the diff tree type.
  -      switch (activeDiffTreeType.value) {
  +      switch (diffTreeType) {
           case DiffTreeType.increaseOnly:
             if (byteSize < 0) {
               return null;
  
positive.code: 
      // Given a child, build its subtree.
      for (Map<String, dynamic> child in rawChildren) {
        final childTreemapNode =
            showDiff ? generateDiffTree(child) : generateTree(child);
        if (childTreemapNode == null) {
          continue;
        }
  
negative.code:   TreemapNode _buildNodeWithChildren(
      Map<String, dynamic> treeJson, {
      bool showDiff = false,
      DiffTreeType diffTreeType,
    }) {
      final rawChildren = treeJson['children'];
      final treemapNodeChildren = <TreemapNode>[];
  