changeCase method
Implementation
String changeCase(String value) {
switch (changeCaseKeyword) {
case Camel(): return value.toCamelCase();
case Capital(): return value.toCapitalCase();
case Constant(): return value.toConstantCase();
case Dot(): return value.toDotCase();
case Header(): return value.toHeaderCase();
case No(): return value.toNoCase();
case Not(): return value;
case Param(): return value.toParamCase();
case Pascal(): return value.toPascalCase();
case Path(): return value.toPathCase();
case Sentence(): return value.toSentenceCase();
case Snake(): return value.toSnakeCase();
case Swap(): return value.toSwapCase();
}
}