setUserName static method

Future<void> setUserName(
  1. String userName
)

Sets the username for the lg session.

Implementation

static Future<void> setUserName(String userName) async =>
    await _prefs?.setString(_keyUserName, userName);