sdkResponse function

dynamic sdkResponse(
  1. bool isVerifyPayment,
  2. bool isDocumentUpload,
  3. bool isLimit,
  4. bool isHome,
  5. bool isWallet,
  6. bool showDocumentButton,
)

Implementation

dynamic sdkResponse(bool isVerifyPayment, bool isDocumentUpload, bool isLimit,
    bool isHome, bool isWallet, bool showDocumentButton) {
  /// MODIFY CODE ONLY BELOW THIS LINE

  // return arguments to json
  return json.encode({
    'isVerifyPayment': isVerifyPayment,
    'isDocumentUpload': isDocumentUpload,
    'isLimit': isLimit,
    'isHome': isHome,
    'isWallet': isWallet,
    'showDocumentButton': showDocumentButton
  });

  /// MODIFY CODE ONLY ABOVE THIS LINE
}