LinkConfig constructor

LinkConfig({
  1. @Deprecated("The use of `linkKey` has been discontinued. `LinkConfig` can now be initialized without it.") String? linkKey,
  2. String? userToken,
  3. String? connectUrl,
  4. required bool sandbox,
  5. Language? language,
  6. List<String>? items,
  7. String? accountId,
  8. String? flowId,
  9. String? ddsConfig,
  10. String? apiHost,
  11. dynamic onCantFindItemClicked(
    1. String
    )?,
  12. dynamic onAccountCreated(
    1. AccountData
    )?,
  13. dynamic onAccountConnected(
    1. AccountData
    )?,
  14. dynamic onAccountRemoved(
    1. AccountData
    )?,
  15. dynamic onAccountError(
    1. AccountData
    )?,
  16. dynamic onDDSSuccess(
    1. AccountData
    )?,
  17. dynamic onDDSError(
    1. AccountData
    )?,
  18. dynamic onFormSubmitted(
    1. FormData
    )?,
  19. dynamic onDocumentsSubmitted(
    1. FormData
    )?,
  20. dynamic onError(
    1. LinkError
    )?,
  21. dynamic onClose()?,
  22. dynamic onTokenExpired(
    1. dynamic (
      1. String
      )
    )?,
  23. dynamic onUiEvent(
    1. UIEvent
    )?,
})

Implementation

LinkConfig({
  @Deprecated("The use of `linkKey` has been discontinued. `LinkConfig` can now be initialized without it.")
  this.linkKey,
  this.userToken,
  this.connectUrl,
  required this.sandbox,
  this.language,
  this.items,
  this.accountId,
  this.flowId,
  this.ddsConfig,
  this.apiHost,
  this.onCantFindItemClicked,
  this.onAccountCreated,
  this.onAccountConnected,
  this.onAccountRemoved,
  this.onAccountError,
  this.onDDSSuccess,
  this.onDDSError,
  this.onFormSubmitted,
  this.onDocumentsSubmitted,
  this.onError,
  this.onClose,
  this.onTokenExpired,
  this.onUiEvent,
});