mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 15:54:35 +01:00
- fix: `sftpGoPath` - opt.: `PersistentStore.toJson` - rm: `first` store - opt.: log print
14 lines
256 B
Dart
14 lines
256 B
Dart
import '../../core/persistant_store.dart';
|
|
|
|
class DockerStore extends PersistentStore<String> {
|
|
DockerStore() : super('docker');
|
|
|
|
String? fetch(String id) {
|
|
return box.get(id);
|
|
}
|
|
|
|
void put(String id, String host) {
|
|
box.put(id, host);
|
|
}
|
|
}
|