getQuestion method Null safety

String getQuestion()

Implementation

String getQuestion() {
    return question;
}