toCamelCase function

String toCamelCase(
  1. String s
)

Formats s with camel case style.

Implementation

String toCamelCase(String s) {
  return toUpperCaseInitials(s).replaceAll(RegExp(r'\s+'), '');
}