getUserData static method
Implementation
static Future<Info?> getUserData() async {
final data = await getStringData(kglobal.userData);
if (data != null) {
final json = jsonDecode(data);
final profile = Info.fromJson(json);
return profile;
}
return null;
}