camelCase property

String get camelCase

Implementation

String get camelCase {
  if (isEmpty || length == 1) {
    return this;
  }
  return split("_")
      .map((e) => e[0].toUpperCase() + e.substring(1).toLowerCase())
      .join();
}