sentence function

String sentence()

It returns a random sentence from the list of sentences

Implementation

String sentence() => sentences.toList()[Random().nextInt(sentences.length)];