camelCase property
String
get
camelCase
Converts string to camelCase (e.g., "hello world" → "helloWorld")
Implementation
String get camelCase {
final words = this!.split(RegExp(r'\s+'));
return isNullOrEmpty ? "" : words.first.toLowerCase() + words.skip(1).map((w) => w.capitalize).join();
}