init static method
- IsolateOrigin isolateOrigin = IsolateOrigin.main
Prepares the SDK for use
Users should call this method once, when the application starts, preferably in the main() method.
isolateOrigin The isolate in which the application is executing. This is IsolateOrigin.main
by default, and this is suitable for almost all use cases.
Implementation
static void init([IsolateOrigin isolateOrigin = IsolateOrigin.main]) {
LibraryContext.init(isolateOrigin, nativeLibraryPath: _getLibraryName());
SDKDartInfo.version = Platform.version;
}