HyperKycConfig class

HyperKycConfig is used to launch HyperKyc Create an instance of HyperKycConfig and call launch with it to start the workflow

Constructors

HyperKycConfig.fromAccessToken({required String? accessToken, required String? workflowId, required String? transactionId})
Create HyperKycConfig instance from accessToken
HyperKycConfig.fromAppIdAppKey({required String? appId, required String? appKey, required String? workflowId, required String? transactionId})
Create HyperKycConfig instance from appId, appKey

Properties

accessToken String?
accessToken to launch HyperKYC : Please contact Hyperverge team to understand how to generate HV accessToken
getter/setter pair
appId String?
appId to launch HyperKYC : Get this from Hyperverge team
getter/setter pair
appKey String?
appKey to launch HyperKYC : Get this from Hyperverge team
getter/setter pair
defaultLangCode String?
Default language code to be used for texts in HyperKyc flow
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputs Map<String, dynamic>?
CustomInputs inputs to launch HyperKYC : If workflow requires any custom inputs, please pass those custom inputs here
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionId String?
transactionId to launch HyperKYC : Please contact Hyperverge team to understand more on sessions and transactionId
getter/setter pair
useLocation bool?
useLocation to use location services when launching HyperKYC
getter/setter pair
uuid String?
Unique ID necessary for Cross Platform Resume feature
getter/setter pair
workflowId String?
workflowId to launch HyperKYC : Each workflow that you have created in Hyperverge portal has a workflowId
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDefaultLangCode({required String defaultLangCode}) → void
Use setDefaultLangCode to pass customInputs which are required by the workflow
setInputs({required Map<String, dynamic> inputs}) → void
Use setInputs to pass customInputs which are required by the workflow
setUniqueId({required String uuid}) → void
Use setUniqueId to pass unique id which is required for Cross Platform Resume
setUseLocation({required bool useLocation}) → void
Use setUseLocation to use location updates in the workflow
toMap() Map<String, dynamic>
Convert HyperKycConfig object to Map
toString() String
Overridden toString method
override

Operators

operator ==(Object other) bool
The equality operator.
inherited