appendMapper method
Implementation
void appendMapper(
String pathPage,
String apiName,
dynamic response,
) {
String extensionMapper = getExtensionMapper(
apiName.pascalCase,
'',
'',
response,
null,
false,
true,
);
final path = pathPage;
DirectoryHelper.createDir(path);
join(path, 'mapper.dart').append(extensionMapper);
}