camelCase property

String get camelCase

Returns String as first letter of all words capitalized except first word without whitespaces.

final str = "Hello there people";
str.titleCase;  // Hello There People

Implementation

String get camelCase =>
    trim().characters.first.toLowerCase() + pascalCase.substring(1);