static makeOpportunityDetails(headings, items, options) {
    Audit.assertHeadingKeysExist(headings, items);
    const {overallSavingsMs, overallSavingsBytes, sortedBy, skipSumming, isEntityGrouped} = options;

    return {
      type: 'opportunity',
      headings: items.length === 0 ? [] : headings,
      items,
      overallSavingsMs,
      overallSavingsBytes,
      sortedBy,
      skipSumming,
      isEntityGrouped,
    };
  }
@param {LH.Audit.Details.Opportunity['headings']} headings
@param {LH.Audit.Details.Opportunity['items']} items
@param {OpportunityOptions} options
@return {LH.Audit.Details.Opportunity}