toCamelCase method

String toCamelCase({
  1. bool lower = false,
})

Returns the String in the form "UpperCamelCase" or "lowerCamelCase".

If lower is true, then the first character will be lower case.

Example:

     print("dart_vm".camelize());
     => DartVm

Implementation

String toCamelCase({bool lower = false}) =>
    Style.toCamelCase(this, lower: lower);