KycConfig constructor
KycConfig({
- required Color baseColor,
- required String atlasUrl,
- KycType type = KycType.bvn,
- required dynamic onSuccess(
- dynamic
- required String publicKey,
- required String webVerificationUrl,
- bool forceWebLaunch = true,
- required dynamic onErrorMessage(),
- String? callbackUrl,
- required Map<
String, dynamic> metaData, - String? clientNumber,
- required dynamic onVerificationFailure(
- dynamic
- String? ref,
- String? userToken,
- dynamic onClose(
- bool,
- dynamic
- 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,
});