getUsername method

String? getUsername()

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

Return the user name.

Implementation

String? getUsername() {
  return super.getAsNullableString('username') ??
      super.getAsNullableString('user');
}