writeUserCode method

Future writeUserCode(
  1. String userCode
)

Implementation

Future writeUserCode(String userCode) async {
  if ("$userId".isEmpty) {
    return;
  }

  return await AuthManager.storage
      .write(key: _KEY_USER_CODE, value: "$userCode");
}