ParagraphSplitter typedef

ParagraphSplitter = List<String> Function(String source)

A splitter function that returns a list of paragraphs from source.

In English, the source text is split at:

  • U+000A, NewLine;
  • U+000B, VerticalTabulation;
  • U+000C, FormFeed; and
  • U+000D, CarriageReturn.

Implementation

typedef ParagraphSplitter = List<String> Function(String source);