settings property Null safety

Settings settings

The current Settings for this FirebaseFirestore instance.

Implementation

Settings get settings {
  return _delegate.settings;
}
void settings=(Settings settings)

Specifies custom settings to be used to configure this FirebaseFirestore instance.

You must set these before invoking any other methods on this FirebaseFirestore instance.

Implementation

set settings(Settings settings) {
  _delegate.settings = _delegate.settings.copyWith(
    sslEnabled: settings.sslEnabled,
    persistenceEnabled: settings.persistenceEnabled,
    host: settings.host,
    cacheSizeBytes: settings.cacheSizeBytes,
  );
}