getUsername method Null safety

String? getUsername()

Gets the user name. The value can be stored in parameters 'username' or 'user'.

Return the user name.