get method

  1. @override
Future<Uri?> get(
  1. String fingerprint
)
override

Retrieve an upload's Uri for a fingerprint. If no matching entry is found this method will return null.

Implementation

@override
Future<Uri?> get(String fingerprint) async {
  _log('Getting URL for fingerprint: $fingerprint');
  final result = store[fingerprint];
  if (result != null) {
    _log('Found URL: $result');
  } else {
    _log('No URL found for fingerprint');
  }
  return result;
}