paragraph method

String paragraph({
  1. int nSentence = 5,
  2. int nWords = 5,
})
inherited

Generates fake paragraph Example:

faker.paragraph(2)

Implementation

String paragraph({int nSentence = 5, int nWords = 5}) {
  if (nSentence < 0) return "";
  return sentences(nSentence: nSentence, nWords: nWords).join(" ");
}