userInit static method

void userInit()

Implementation

static void userInit() {
  var store = GetStorage();
  updatePrefs(Position(
      userTag : store.read("recent_user_tag"),
      beaconId : store.read("recent_beacon_id"),
      inTime : TimestringToDateTime.encode(store.read("recent_in_time")),
      outTime :TimestringToDateTime.encode(store.read("recent_out_time")),
      doomId : store.read("recent_doom_id"),
      userName :store.read("recent_user_name"),
      userRank :store.read("recent_user_rank"),
      userRoomId :store.read("recent_user_room_id"),
      userDoomId :store.read("recent_user_doom_id"),
      name :store.read("recent_place_name"),
  ));
}