init method

  1. @override
Future<PluggableStorageProvider> init()

Initializes the storage provider.

Implementation

@override
Future<PluggableStorageProvider> init() async {
  if (initialized) {
    return this;
  }

  initialized = true;

  print(
    '${Isolate.current.debugName} - Redis store initialized',
  );

  return this;
}