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
32 bool contains(String key);
33
45 List<String> getKeys();
46
61 int getInt(String key, int defaultValue);
62
77 int getLong(String key, int defaultValue);
78
93 bool getBool(String key, bool defaultValue);
94
109 double getFloat(String key, double defaultValue);
110
125 double getDouble(String key, double defaultValue);
126
141 String getString(String key, String defaultValue);
142
155 void putInt(String key, int value);
156
169 void putLong(String key, int value);
170
183 void putBool(String key, bool value);
184
197 void putFloat(String key, double value);
198
211 void putDouble(String key, double value);
212
225 void putString(String key, String value);
226
238 void remove(String key);
239
250 void clear();
251
252
253
254}