initialize method

Future<void> initialize(
  1. DotSdkConfiguration configuration
)

Initialize DOT SDK.

Before using any of the components, you need to initialize DOT SDK with the license and a set of libraries you want to activate.

Available libraries:

The home_screen.dart file in the Example app shows how to initialize DOT SDK. Keep in mind that if you try to use any component without initialization, it will throw an exception/error.

Implementation

Future<void> initialize(DotSdkConfiguration configuration) {
  return DotCorePlatform.instance.initialize(configuration);
}