FFPostgresProjectConfig constructor

FFPostgresProjectConfig({
  1. @Deprecated('This field is deprecated.') String? legacyPostgresUrl,
  2. @Deprecated('This field is deprecated.') String? legacyAnonKey,
  3. bool? enabled,
  4. FFValue? postgresUrl,
  5. FFValue? anonKey,
})

Implementation

factory FFPostgresProjectConfig({
  @$core.Deprecated('This field is deprecated.')
  $core.String? legacyPostgresUrl,
  @$core.Deprecated('This field is deprecated.') $core.String? legacyAnonKey,
  $core.bool? enabled,
  FFValue? postgresUrl,
  FFValue? anonKey,
}) {
  final result = create();
  if (legacyPostgresUrl != null) result.legacyPostgresUrl = legacyPostgresUrl;
  if (legacyAnonKey != null) result.legacyAnonKey = legacyAnonKey;
  if (enabled != null) result.enabled = enabled;
  if (postgresUrl != null) result.postgresUrl = postgresUrl;
  if (anonKey != null) result.anonKey = anonKey;
  return result;
}