From 6828718441a3e914779e06121683ffd551f8e079 Mon Sep 17 00:00:00 2001 From: Alex Ordonez Date: Sun, 25 Aug 2019 12:51:56 -0700 Subject: [PATCH] Fix typo in lorem.sentences Fix typo word -> sentence --- lib/src/lorem.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/lorem.dart b/lib/src/lorem.dart index f1fa022..e703bab 100644 --- a/lib/src/lorem.dart +++ b/lib/src/lorem.dart @@ -40,6 +40,6 @@ class Lorem { /// faker.lorem.sentences(5); /// ``` List sentences(numberOfSentences) { - return Iterable.generate(numberOfSentences).map((_) => word()).toList(); + return Iterable.generate(numberOfSentences).map((_) => sentence()).toList(); } }