toCamelCase property
String
get
toCamelCase
驼峰命名转换
Implementation
String get toCamelCase {
return split(' ')
.asMap()
.map((i, word) =>
MapEntry(i, i == 0 ? word.toLowerCase() : word.capitalize))
.values
.join();
}