dummyText function

dynamic dummyText(
  1. [int sentences = 10]
)

Implementation

dummyText([int sentences = 10]) {
  var sentence = '';
  faker.lorem.sentences(sentences).forEach((element) {
    sentence += element;
  });
  return sentence;
}