ConfigAppInfo constructor

ConfigAppInfo({
  1. String baseUrl = 'https://ekyc-sdk.kalapa.vn',
  2. String token = "",
  3. String mrz = "",
  4. String mainColor = '#2081AF',
  5. String mainTextColor = '#000000',
  6. String btnTextColor = '#FFFFFF',
  7. String backgroundColor = '#FFFFFF',
  8. bool captureEnabled = true,
  9. bool nfcEnabled = true,
  10. String lang = 'vi-VN',
  11. int livenessVersion = 0,
  12. List<String> acceptedDocuments = const ["CMND9", "CMND12", "CCCD", "EID"],
  13. int faceMatchingThreshold = 50,
  14. bool verifyCheck = true,
  15. bool fraudCheck = true,
  16. bool strictQualityCheck = true,
  17. bool cardSidesMatch = true,
})

Implementation

ConfigAppInfo({
  this.baseUrl = 'https://ekyc-sdk.kalapa.vn',
  this.token = "",
  this.mrz = "",
  this.mainColor = '#2081AF',
  this.mainTextColor = '#000000',
  this.btnTextColor = '#FFFFFF',
  this.backgroundColor = '#FFFFFF',
  this.captureEnabled = true,
  this.nfcEnabled = true,
  this.lang = 'vi-VN',
  this.livenessVersion = 0,
  this.acceptedDocuments = const ["CMND9", "CMND12", "CCCD", "EID"],
  this.faceMatchingThreshold = 50,
  this.verifyCheck = true,
  this.fraudCheck = true,
  this.strictQualityCheck = true,
  this.cardSidesMatch = true,
});