writeFeaturesObject(features, options) {
    options = this.adaptOptions(options);
    const objects = [];
    for (let i = 0, ii = features.length; i < ii; ++i) {
      objects.push(this.writeFeatureObject(features[i], options));
    }
    return {
      'features': objects,
    };
  }
Encode an array of features as a EsriJSON object.

@param {Array<import("../Feature.js").default>} features Features.
@param {import("./Feature.js").WriteOptions} [options] Write options.
@return {EsriJSONFeatureSet} EsriJSON Object.
@api
@override