code: function Notification (payload) {
    this.encoding = "utf8";
    this.payload = {};
    this.compiled = false;
  
    this.aps = {};
    this.expiry = 0;
    this.priority = 10;
  
    if (payload) {
      for(let key in payload) {
        if (payload.hasOwnProperty(key)) {
          this[key] = payload[key];
        }
      }
    }
  }
docs: Create a notification
  @constructor