serviceBaseName static method
Implementation
static String serviceBaseName(String originalName) {
if (originalName.endsWith('Service')) {
return '${originalName}Base'; // avoid: ServiceServiceBase
} else {
return '${originalName}ServiceBase';
}
}