setCode method Null safety

Future<void> setCode(
  1. String value
)

Saves the given student code value in storage.

Implementation

Future<void> setCode(String value) async {
  await _saveString(_codeKey, value);
}