saveJson method
Store a JSON value in NyStorage
You can also save a value in the backpack by setting inBackpack
to true
Implementation
saveJson(dynamic value, {bool inBackpack = false}) async {
try {
return await NyStorage.saveJson(this, value, inBackpack: inBackpack);
} catch (e) {
NyLogger.error(e);
}
}