Avatar.setIconName

void setIconName(string iconName = null)

Sets the name of an icon to use as a fallback.

If no name is set, avatar-default-symbolic will be used.

Parameters

iconNamethe icon name