useCase method

  1. @override
Future<String> useCase(
  1. String feature,
  2. String useCase
)
override

Implementation

@override
Future<String> useCase(String feature, String useCase) {
  return _safeCall(
    reader.read(
      'usecase',
      namedArgs: {
        'app': Info.appName,
        'feature': feature,
        'repo': feature,
        'repoCamelCase': InputConverter.stringToCamelCase(feature),
        'usecaseCamelCase': InputConverter.stringToCamelCase(useCase),
      },
    ),
  );
}