Loading...
Searching...
No Matches
key_value_storage.dart
Go to the documentation of this file.
1import 'dart:ffi';
2import 'package:navigine_sdk/com/_library_context.dart' as __lib;
3import 'package:navigine_sdk/com/_native_base.dart' as __lib;
4import 'package:navigine_sdk/com/builtin_types__conversion.dart';
5
6part 'key_value_storage.impl.dart';
18abstract class KeyValueStorage implements Finalizable {
19
31 bool contains(String key);
32
43 List<String> getKeys();
44
58 int getInt(String key, int defaultValue);
59
73 int getLong(String key, int defaultValue);
74
88 bool getBool(String key, bool defaultValue);
89
103 double getFloat(String key, double defaultValue);
104
118 double getDouble(String key, double defaultValue);
119
133 String getString(String key, String defaultValue);
134
146 void putInt(String key, int value);
147
159 void putLong(String key, int value);
160
172 void putBool(String key, bool value);
173
185 void putFloat(String key, double value);
186
198 void putDouble(String key, double value);
199
211 void putString(String key, String value);
212
223 void remove(String key);
224
234 void clear();
235
236
237
238}