init method

Future<void> init(
  1. String path, [
  2. dynamic viewContainer = "viewdStorage"
])

Implementation

Future<void> init(String path, [viewContainer = "viewdStorage"]) async {
  await GetStorage.init(viewContainer);
  _storage = GetStorage(viewContainer, path);
}