SecureStorage class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteData({required String key})
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
readBool({required String key, bool isEncrypted = true})
→ Future<bool?>
-
-
readInt({required String key, bool isEncrypted = true})
→ Future<int?>
-
-
readJson({required String key, bool isEncrypted = true})
→ Future<Map<String, dynamic>?>
-
-
readList({required String key, bool isEncrypted = true})
→ Future<List?>
-
-
readMap({required String key, bool isEncrypted = true})
→ Future<Map<String, dynamic>?>
-
-
readString({required String key, bool isEncrypted = true})
→ Future<String?>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
writeBool({required String key, required bool value, bool isEncrypted = true})
→ Future<void>
-
write and read bool data
-
writeInt({required String key, required int value, bool isEncrypted = true})
→ Future<void>
-
write and read int data
-
writeJson({required String key, required Map<String, dynamic> jsonMap, bool isEncrypted = true})
→ Future<void>
-
write and read JSON data
-
writeList({required String key, required List value, bool isEncrypted = true})
→ Future<void>
-
write and read List data
-
writeMap({required String key, required Map<String, dynamic> value, bool isEncrypted = true})
→ Future<void>
-
write and read Map data
-
writeString({required String key, required String value, bool isEncrypted = true})
→ Future<void>
-
write and read String data