Lean.manageConsents constructor
const
Lean.manageConsents({
- Key? key,
- required String appToken,
- required String? customerId,
- LeanCallback? callback,
- String? accessToken,
- Map<
String, String> ? customization, - LeanActionCancelled? actionCancelled,
- bool isSandbox = true,
- bool showLogs = false,
- String version = 'latest',
- String env = 'production',
- LeanCountry country = LeanCountry.ae,
- LeanLanguage language = LeanLanguage.en,
Implementation
const Lean.manageConsents({
super.key,
required this.appToken,
required this.customerId,
this.callback,
this.accessToken,
this.customization,
this.actionCancelled,
this.isSandbox = true,
this.showLogs = false,
this.version = 'latest',
this.env = 'production',
this.country = LeanCountry.ae,
this.language = LeanLanguage.en,
}) : _method = LeanMethods.manageConsents,
allowPaymentSourceChange = null,
permissions = null,
accessTo = null,
accessFrom = null,
bankIdentifier = null,
paymentDestinationId = null,
failRedirectUrl = null,
successRedirectUrl = null,
accountId = null,
reconnectId = null,
customerName = null,
consentId = null,
showBalances = null,
paymentSourceId = null,
paymentIntentId = null,
customerMetadata = null,
showConsentExplanation = null,
destinationAlias = null,
destinationAvatar = null,
consentAttemptId = null,
granularStatusCode = null,
statusAdditionalInfo = null,
riskDetails = null,
initializationUrl = '';