setUserInfo method

  1. @override
Future<void> setUserInfo(
  1. String? name
)
override

Sets the user info in secure storage.

Parameters:

  • name: The user info to be stored.

Implementation

@override
Future<void> setUserInfo(String? name) async {
  await _storage.write(key: userNameKey, value: name);
}