friendlyName property
String
get
friendlyName
darty name of a steam method name
Implementation
String get friendlyName {
String correctedName = nameFlat;
if (correctedName.startsWith("SteamAPI_")) {
correctedName = correctedName.replaceFirst("SteamAPI_", "");
}
// if no underscore is found (-1) get whole string
int underScoreIndex = correctedName.indexOf("_");
correctedName = correctedName.substring(underScoreIndex + 1);
correctedName =
correctedName.clearSteamNaming().camelCase.fixDartConflict();
return correctedName;
}