readme and rename

This commit is contained in:
randogoth 2025-02-27 23:14:03 +02:00
parent 7409b9d4cd
commit 040f592ca2
2 changed files with 5 additions and 32 deletions

View file

@ -7,14 +7,14 @@ import 'package:path_provider/path_provider.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter/foundation.dart' show kIsWeb;
class GeoMetadataLookup {
class RugReefer {
final String apiUrl;
final bool enableCacheExpiration;
final Duration cacheExpirationDuration;
final http.Client httpClient;
Directory? cacheDir;
GeoMetadataLookup({
RugReefer({
required this.apiUrl,
this.enableCacheExpiration = false,
this.cacheExpirationDuration = const Duration(days: 14),