BudgetThresholdRule class
Constructors
-
BudgetThresholdRule({Input<
String?> ? spendBasis, required Input<double> thresholdPercent}) -
Creates a new BudgetThresholdRule.
spendBasisThe type of basis used to determine if spend has passedthresholdPercentSend an alert when this threshold is exceeded. This is aconst -
BudgetThresholdRule.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spendBasis
→ Input<
String?> ? -
The type of basis used to determine if spend has passed
the threshold.
Default value is
CURRENT_SPEND. Possible values are:CURRENT_SPEND,FORECASTED_SPEND.final -
thresholdPercent
→ Input<
double> -
Send an alert when this threshold is exceeded. This is a
1.0-based percentage, so 0.5 = 50%. Must be >= 0.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited