SpotCheck constructor

SpotCheck({
  1. Key? key,
  2. required String targetToken,
  3. required String domainName,
  4. required Map<String, dynamic> userDetails,
  5. Map<String, dynamic> variables = const {},
  6. Map<String, dynamic> customProperties = const {},
  7. String sparrowLang = "",
})

Implementation

SpotCheck(
    {Key? key,
    required this.targetToken,
    required this.domainName,
    required this.userDetails,
    this.variables = const {},
    this.customProperties = const {},
    this.sparrowLang = ""})
    : super(key: key) {
  spotCheckState = SpotCheckState(
    targetToken: targetToken,
    domainName: domainName,
    userDetails: userDetails,
    variables: variables,
    customProperties: customProperties,
    sparrowLang: sparrowLang,
  );
}