appendSentenceAndCloze method

void appendSentenceAndCloze(
  1. String sentence
)

Append the appropriate fields for cloze compatibility.

Implementation

void appendSentenceAndCloze(String sentence) {
  getFieldController(SentenceField.instance).text += '\n\n$sentence';
  getFieldController(ClozeAfterField.instance).text += '\n\n$sentence';
}