split method

List<String>? split(
  1. Pattern pattern
)

Splits the string at matches of pattern and returns a list of substrings.

Implementation

List<String>? split(Pattern pattern) => value?.split(pattern);