loadWebSdk function

Future<String> loadWebSdk()

Loads the bundled web SDK script.

Implementation

Future<String> loadWebSdk() async {
  return _cachedWebSdk ??= await rootBundle.loadString(_webSdkAsset);
}