initialize static method

void initialize(
  1. AddStreamConfig config
)

Initializes the AddStream SDK with the provided configuration.

This method must be called once before using any AddStreamWidget. Typically called in the main() function before runApp().

Throws an Exception if called multiple times.

Implementation

static void initialize(AddStreamConfig config) {
  _config = config;
}