LinkConfig constructor

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

Implementation

LinkConfig({
  @Deprecated("The use of `linkKey` has been discontinued. `LinkConfig` can now be initialized without it.")
  this.linkKey,
  required this.userToken,
  required this.sandbox,
  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,
});