uploadAvatar abstract method
Uploads a new profile photo to NTUT Portal, replacing the current one.
oldFilename should be the current avatar filename
(from UserDto.avatarFilename, or empty string if none).
Returns the new avatar filename assigned by the server.
Implementation
Future<String> uploadAvatar(Uint8List imageBytes, String? oldFilename);