readForce method

  1. @protected
Future<String> readForce()

Implementation

@protected
Future<String> readForce() async {
  String? value = await storage.read(key: key);

  if (value == null) {
    throw StorageValueNotFoundException(key);
  }

  return value;
}