code: function SpatialReference(params) {
      params = params || {};
      this.wkid = params.wkid;
      this.wkt = params.wkt;
    }
docs: Create A Generic Spatial Reference Object
  The <code>params </code> passed in constructor is a javascript object literal and depends on
  the type of Coordinate System to construct.
  @name SpatialReference
  @class This  class (<code>SpatialReference</code>) is for coordinate systems that converts value
  between geographic and real-world coordinates. The following classes extend this class:
  {@link Geographic}, {@link SphereMercator}, {@link LambertConformalConic}, and {@link TransverseMercator}.
  @constructor
  @property {Number} [wkid] well-known coodinate system id (EPSG code)
  @property {String} [wkt] well-known coodinate system text
  @param {Object} params