setQuestion method Null safety

void setQuestion(
  1. String question
)

Implementation

void setQuestion(String question) {
    this.question = question;
}