getUpAccount static method
Implementation
static UpAccount? getUpAccount() {
final result = prefs.getString(upAccountKey);
print("[result] $result");
if (result == null) return null;
Map<String, dynamic> account = json.decode(result);
return UpAccount(address: account["address"], email: account["email"], newborn: account["newborn"]);
}