CH-J SM Mobilegestione server su SSH
Menu
Sorgente pubblicata

CH-J SM Mobile

Sfoglia directory e file per una specifica release di applicazioni.

Scarica sorgente ZIP
CH-J / SM Mobile 134 file
sm-mobile-20261016T050549Z-3678f2a05fa9 Aggiunto: · Costruito:
File
support.dart Aggiunto: Data non registrata 538 B · 19 righe
Scarica file
1import 'package:sm_mobile/services/secure_store.dart';
3class MemoryStore implements SecureStore {
4 final Map<String, String> values;
5 bool failWrites = false;
6 MemoryStore([Map<String, String>? initial]) : values = {...?initial};
7 @override
8 Future<String?> read(String key) async => values[key];
9 @override
10 Future<void> write(String key, String value) async {
11 if (failWrites) throw StateError('write failed');
12 values[key] = value;
13 }
15 @override
16 Future<void> delete(String key) async {
17 values.remove(key);
18 }
SHA-25659baa7aa3a7bce63175951ba00d388f588658581aed13742c9acc221df57415a

CH-J Proprietary Software License 1.14 · La sorgente è fornita sotto CH-J Proprietary Software License 1.14. La sua disponibilità non modifica i termini di licenza o concede diritti aggiuntivi.

Archivio SHA-256c486a807e4828998b9c57ab0f2e760f7980b31965fe118e89d3e1a5a2b65be65