PlatformLocalStorageCreationParams constructor

PlatformLocalStorageCreationParams(
  1. PlatformStorageCreationParams params
)

Used by the platform implementation to create a new PlatformLocalStorage.

Implementation

PlatformLocalStorageCreationParams(
  // This parameter prevents breaking changes later.
  // ignore: avoid_unused_constructor_parameters
  PlatformStorageCreationParams params,
) : super(
          controller: params.controller,
          webStorageType: WebStorageType.LOCAL_STORAGE);