smartSplit method
Implementation
Iterable<String> smartSplit([int? maxPieceSize]) => multiSplitW(const [
"\n",
" ",
".",
",",
";",
"\"",
":",
"!",
"?",
"(",
")",
"[",
"]",
"{",
"}",
"\r",
"\t",
"-",
"_",
"'",
"—",
"–",
"…",
"‘",
"’",
"“",
"”",
"«",
"»",
"‹",
"›",
">",
"<",
"/",
"=",
"\\",
"+",
"*",
"&",
"@",
"#",
"%",
"\$",
"^",
"|",
"`",
"~",
]).smartExpand(maxPieceSize);