syncToBackpack static method

Future<void> syncToBackpack()

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);
}