copyWith method

Settings copyWith({
  1. bool? persistenceEnabled,
  2. String? host,
  3. bool? sslEnabled,
  4. int? cacheSizeBytes,
  5. bool? ignoreUndefinedProperties,
})

Implementation

Settings copyWith({
  bool? persistenceEnabled,
  String? host,
  bool? sslEnabled,
  int? cacheSizeBytes,
  bool? ignoreUndefinedProperties,
}) =>
    Settings(
      persistenceEnabled: persistenceEnabled ?? this.persistenceEnabled,
      host: host ?? this.host,
      sslEnabled: sslEnabled ?? this.sslEnabled,
      cacheSizeBytes: cacheSizeBytes ?? this.cacheSizeBytes,
      ignoreUndefinedProperties:
          ignoreUndefinedProperties ?? this.ignoreUndefinedProperties,
    );