initialize method

Future<void> initialize(
  1. DigiaConfig config
)

Returns when the campaign fetch has settled the SDK state (ready or failed) or _initializeCap after the call, whichever comes first. Never throws: a failure leaves the SDK in SDKState.failed.

Implementation

Future<void> initialize(DigiaConfig config) =>
    _initialize(config).timeout(_initializeCap, onTimeout: () {});