resolveClassName method

String resolveClassName(
  1. Settings settings, [
  2. String dir = '.'
])

Implementation

String resolveClassName(Settings settings, [String dir = '.']) {
  final dirName = pt.basename(dir);
  final partialName =
      dirName == '.' ? (className ?? pt.basename(inputDir).pascalCase) : dirName.pascalCase;
  return prefixClassName != null ? '$prefixClassName$partialName' : partialName;
}