settings method

void settings(
  1. Settings settings
)

Specifies custom settings to be used to configure the Firestore instance. Can only be invoked once and before any other Firestore method.

If settings are provided via both settings() and the Firestore constructor, both settings objects are merged and any settings provided via settings() take precedence.

@param {object} settings The settings to use for all Firestore operations.

Implementation

external void settings(Settings settings);