updateUsername method
Update Username.
ID: 3e0bdd7c.
Implementation
Future<Result<UserBase>> updateUsername({required String username}) async {
// Preparing the request.
final request = AccountUpdateUsername(username: username);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UserBase>();
}