code property Null safety
Returns the student code saved in storage if found, otherwise returns an empty string.
Implementation
String get code => _prefs.getString(_codeKey) ?? '';
Returns the student code saved in storage if found, otherwise returns an empty string.
String get code => _prefs.getString(_codeKey) ?? '';