readme and rename
This commit is contained in:
parent
7409b9d4cd
commit
040f592ca2
2 changed files with 5 additions and 32 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue