constructor(val, type) {
    super();
    this.val = val;
    this.type = type;
  }
Initialize a new `Unit` with the given `val` and unit `type`
such as "px", "pt", "in", etc.

@param {String} val
@param {String} type
@api public