setUserID static method
Implementation
static Future<SharedPreferences> setUserID(String data, String path) async {
_preferences = await SharedPreferences.getInstance();
_decode = jsonEncode(data);
_preferences!.setString(path, _decode!);
return _preferences!;
}