FirebaseRemoteConfigRemoteConfigRemoteConfigConditionalValue class

One entry in a parameter's conditional_values (nesting=set). Pairs a conditionName (referencing a FirebaseRemoteConfigRemoteConfigRemoteConfigCondition.name in the template's conditions list) with either an in-app-default flag or a literal value. Per the schema's own constraint, only one of useInAppDefault / value may be specified.

The condition_name of the highest priority (i.e. the one listed first in the template's conditions) that evaluates to true determines this parameter's value for a given client.

Annotations
  • @immutable

Constructors

FirebaseRemoteConfigRemoteConfigRemoteConfigConditionalValue({required TfArg<String> conditionName, TfArg<bool>? useInAppDefault, TfArg<String>? value})
const

Properties

conditionName → TfArg<String>
Must match a FirebaseRemoteConfigRemoteConfigRemoteConfigCondition.name in the parent template's conditions list. Mismatches are not caught at compile time; Terraform apply surfaces the error from the Remote Config API.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useInAppDefault → TfArg<bool>?
When true, the parameter is omitted from values returned to the client (the client falls back to its in-app default) when this condition matches.
final
value → TfArg<String>?
String value (interpreted per the parent parameter's valueType).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited