KycConfig constructor

KycConfig({
  1. required Color baseColor,
  2. required String atlasUrl,
  3. KycType type = KycType.bvn,
  4. required dynamic onSuccess(
    1. dynamic
    ),
  5. required String publicKey,
  6. required String webVerificationUrl,
  7. bool forceWebLaunch = true,
  8. required dynamic onErrorMessage(
    1. String
    ),
  9. String? callbackUrl,
  10. required Map<String, dynamic> metaData,
  11. String? clientNumber,
  12. required dynamic onVerificationFailure(
    1. dynamic
    ),
  13. String? ref,
  14. String? userToken,
  15. dynamic onClose(
    1. bool,
    2. dynamic
    )?,
  16. bool showQrSheet = true,
})

Implementation

KycConfig({
  required this.baseColor,
  required this.atlasUrl,
  this.type = KycType.bvn,
  required this.onSuccess,
  required this.publicKey,
  required this.webVerificationUrl,
  this.forceWebLaunch = true,
  required this.onErrorMessage,
  this.callbackUrl,
  required this.metaData,
  this.clientNumber,
  required this.onVerificationFailure,
  // this.browserLaunchMode = LaunchMode.externalApplication,
  this.ref,
  this.userToken,
  this.onClose,
  this.showQrSheet = true,
});