splitCamelCase function

Iterable<String> splitCamelCase(
  1. String str
)

Implementation

Iterable<String> splitCamelCase(String str) => str
    .replaceAllMapped(_camelCaseSpliter, (match) => ' ${match.group(0)}')
    .trim()
    .split(' ');