modeloFactoryPresenter function

String modeloFactoryPresenter(
  1. String nomeClasse
)

Implementation

String modeloFactoryPresenter(String nomeClasse) {
  String conteudo = '''
  import 'package:aluno_unisuam/application/factories/pages/nps/nps_validation_factory.dart';
  import '../../../../presentation/presenters/presenters.dart';
  import '../../../../presentation/ui/pages/pages.dart';

    ${nomeClasse}Presenter makeGetx${nomeClasse}Presenter() => Getx${nomeClasse}Presenter(
      validation: make${nomeClasse}Validation(),
    );
  ''';

  return conteudo;
}