OfferingsModel class
Methods
-
convertVersionToDouble(String version)
→ double
-
Converts a dotted version using the SDK's historical comparison format.
-
currentOffering({String? placment})
→ OfferingModel?
-
Resolves the offering for the current customer and optional placement.
-
defaultOffering()
→ OfferingModel?
-
Returns the offering marked as the server default.
-
evaluateField({required String filedName, required String operator, required String data, String? context})
→ bool
-
Evaluates one offering condition using the compatibility context.
-
evaluateFieldWithContext({required String filedName, required String operator, required String data, required OfferingEvaluationContext evaluationContext, String? context})
→ bool
-
Evaluates one condition using explicit, platform-independent inputs.
-
evaluateOperator(dynamic left, String operator, dynamic right)
→ bool
-
Applies one of the stable server-defined comparison operators.
-
getCurrentOfferingForPlacement(String? placementIdentifier)
→ OfferingModel?
-
-
getOffering(String identifier)
→ OfferingModel?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveOffering({required OfferingEvaluationContext evaluationContext, String? placement})
→ OfferingModel?
-
Resolves an offering using explicit, platform-independent inputs.
-
toJson()
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object.
inherited