OfferingEvaluationContext constructor

OfferingEvaluationContext({
  1. required String country,
  2. required String platform,
  3. required String appVersion,
  4. String sdkVersion = '',
  5. int? appId,
  6. Map<String, String?> customAttributes = const <String, String?>{},
})

Creates a complete offering-rule evaluation context.

Implementation

OfferingEvaluationContext({
  required this.country,
  required this.platform,
  required this.appVersion,
  this.sdkVersion = '',
  this.appId,
  Map<String, String?> customAttributes = const <String, String?>{},
}) : customAttributes = Map<String, String?>.unmodifiable(customAttributes);