build static method

Future<Storage> build()

Implementation

static Future<Storage> build() async {
  final storage = SecureHydratedStorage._();
  storage._allValues = await storage._storage.readAll();
  _logger.fine(
    'Loaded values from device secure storage: '
    '${storage._allValues}',
  );
  return storage;
}