syncToBackpack static method
Sync the auth user data to the backpack.
Implementation
static Future<void> syncToBackpack() async {
dynamic data = await NyStorage.readJson(key());
Backpack.instance.save(key(), data);
}
Sync the auth user data to the backpack.
static Future<void> syncToBackpack() async {
dynamic data = await NyStorage.readJson(key());
Backpack.instance.save(key(), data);
}