Settings constructor

Settings({
  1. String? databaseId,
  2. bool? useBigInt,
})

Settings used to directly configure a Firestore instance.

Implementation

factory Settings({
  /// The database name. If omitted, the default database will be used.
  String? databaseId,

  /// Whether to use `BigInt` for integer types when deserializing Firestore
  /// Documents. Regardless of magnitude, all integer values are returned as
  /// `BigInt` to match the precision of the Firestore backend. Floating point
  /// numbers continue to use JavaScript's `number` type.
  bool? useBigInt,
}) = _Settings;