LocalStorage constructor

LocalStorage({
  1. required InAppWebViewController? controller,
})

Class that provides methods to manage the JavaScript window.localStorage object. It used by PlatformWebStorage.

Implementation

LocalStorage({required InAppWebViewController? controller})
    : this.fromPlatformCreationParams(
          params: PlatformLocalStorageCreationParams(
              PlatformStorageCreationParams(
                  controller: controller?.platform,
                  webStorageType: WebStorageType.LOCAL_STORAGE)));