static addEventListener(
    type: string,
    handler: Function
  ) {
    invariant(
      type === 'change',
      'Trying to subscribe to unknown event: "%s"', type
    );
    eventEmitter.addListener(type, handler);
  }
Add an event handler. Supported events:

- `change`: Fires when a property within the `Dimensions` object changes. The argument
  to the event handler is an object with `window` and `screen` properties whose values
  are the same as the return values of `Dimensions.get('window')` and
  `Dimensions.get('screen')`, respectively.