randomSentence top-level property

dynamic get randomSentence

Implementation

get randomSentence => sentences[Random().nextInt(sentences.length)];