setVanityUrlCode method
Set the server's vanity url code.
await server.setVanityUrlCode('new-vanity-url', reason: 'Testing');
Implementation
Future<void> setVanityUrlCode(String value, {String? reason}) async {
await _serverPart.updateServer(id, {'vanity_url_code': value}, reason);
}