constructor()

in src/issue.js [14:26]


    constructor(context) {
        this.context = context;
        this.issue = context.payload.issue;
        this.title = this.issue.title;
        this.body = this.issue.body || '';
        // null -> failed to translate -> unknown language
        // false -> translated -> not in English
        this.translatedTitle = null;
        this.translatedBody = null;
        this.addLabels = [];
        this.removeLabels = [];
        this.response = null;
    }