getModelImportPath method

String getModelImportPath(
  1. String moduleName
)

Implementation

String getModelImportPath(String moduleName) {
  final path = modelPath.replaceAll('{{model}}', moduleName.toSnakeCase()).replaceFirst('lib/', '');

  return '$packageName/$path${moduleName.toSnakeCase()}.dart';
}