EnrollInitModel constructor

EnrollInitModel({
  1. String? localizationCode,
  2. String? enrollEnvironment,
  3. String? enrollMode,
  4. String? tenantId,
  5. String? tenantSecret,
  6. String? googleApiKey,
  7. EnrollColors? colors,
  8. String? applicantId,
  9. String? levelOfTrust,
  10. bool? skipTutorial,
  11. String? correlationId,
  12. required dynamic onGettingRequestId(
    1. String requestId
    ),
})

Constructor for initializing EnrollInitModel with optional settings.

onGettingRequestId is a callback function that triggers when a request ID is generated.

Implementation

EnrollInitModel(
    {this.localizationCode,
    this.enrollEnvironment,
    this.enrollMode,
    this.tenantId,
    this.tenantSecret,
    this.googleApiKey,
    this.colors,
    this.applicantId,
    this.levelOfTrust,
    this.skipTutorial,
    this.correlationId,
    required Function(String requestId) onGettingRequestId});