code: public static Xml exports(SurfaceConfig config)
      {
          Check.notNull(config);
  
          final Xml node = new Xml(NODE_SURFACE);
          node.writeString(ATT_IMAGE, config.getImage());
          config.getIcon().ifPresent(icon -> node.writeString(ATT_ICON, icon));
  
          return node;
      }
docs: Create the surface data from node.
  
  @param config The config reference (must not be <code>null</code>).
  @return The node data.
  @throws LionEngineException If unable to write node.