saveUserProps static method

Future<void> saveUserProps(
  1. String userProps
)

Implementation

static Future<void> saveUserProps(String userProps) async {
  final SharedPreferences prefs = await SharedPreferences.getInstance();
  await prefs.setString('userProps', userProps);
}