CH-J Tools Mobile透過 SSH 管理伺服器
選單
已發布的原始碼

CH-J Tools Mobile

瀏覽特定應用程式版本的目錄與檔案。

下載原始碼 ZIP
CH-J / CH-J Tools Mobile 175 個檔案
sm-mobile-20261016T185235Z-8e93ecc1b59a 新增時間: · 建置時間:
support.dart 新增時間: 未記錄日期 538 B · 19 行
程式碼 下載檔案
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 · 原始碼依 CH-J Proprietary Software License 1.14 提供。公開原始碼不會改變授權條款,也不會授予額外的權利。

壓縮檔 SHA-25646e427a43e87af091004f36145590bda8fe90086dfb0f631afeb5029fb0b5655
檔案