createPathForDartFile static method
Create a file path.
Implementation
static String createPathForDartFile(
{required String folderPath,
required String className,
String? prefix,
String? creationPath}) {
if (prefix != null) {
prefix = "_$prefix";
} else {
prefix = "";
}
return '$folderPath/${creationPath != null ? '$creationPath/' : ''}${className.snakeCase}$prefix.dart';
}