ULinkConfig constructor

ULinkConfig({
  1. required String apiKey,
  2. String baseUrl = 'https://api.ulink.ly',
  3. bool debug = false,
  4. bool persistLastLinkData = false,
  5. Duration? lastLinkTimeToLive,
  6. bool clearLastLinkOnRead = true,
  7. bool redactAllParametersInLastLink = false,
  8. List<String> redactedParameterKeysInLastLink = const [],
  9. bool enableDeepLinkIntegration = true,
  10. bool enableAutomaticAppDelegateIntegration = true,
  11. bool enableAnalytics = true,
  12. bool enableCrashReporting = false,
  13. int timeout = 30000,
  14. int retryCount = 3,
  15. Map<String, dynamic>? metadata,
  16. bool autoCheckDeferredLink = true,
})

Creates a new ULink configuration

Implementation

ULinkConfig({
  required this.apiKey,
  this.baseUrl = 'https://api.ulink.ly',
  this.debug = false,
  this.persistLastLinkData = false,
  this.lastLinkTimeToLive,
  this.clearLastLinkOnRead = true,
  this.redactAllParametersInLastLink = false,
  this.redactedParameterKeysInLastLink = const [],
  this.enableDeepLinkIntegration = true,
  this.enableAutomaticAppDelegateIntegration = true,
  this.enableAnalytics = true,
  this.enableCrashReporting = false,
  this.timeout = 30000,
  this.retryCount = 3,
  this.metadata,
  this.autoCheckDeferredLink = true,
});