toCamelCase method

String toCamelCase()

Implementation

String toCamelCase() {
  return replaceAllMapped(RegExp(r'[ _](\w)'), (Match match) {
    return match[1]!.toUpperCase();
  });
}