getServiceImportPath method

String getServiceImportPath(
  1. String moduleName
)

Implementation

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

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