public final Node getIcon() {
        if (!Objects.isNull(icon)) {
            return new FontIcon(icon);
        }
        return new ImageView(imgIcon);
    }
Returns the icon of this module as a {@link Node}.

@return the icon of this module as a {@link Node}.
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/model/WorkbenchModule.java