markQuestion method

void markQuestion(
  1. String id, {
  2. bool? answered,
  3. bool? hidden,
})

Hosts: mark a question answered, or hide it from participants.

Implementation

void markQuestion(String id, {bool? answered, bool? hidden}) =>
    _sendQa({'t': 'mark', 'id': id, if (answered != null) 'answered': answered, if (hidden != null) 'hidden': hidden});