compileProtoFileFromService function

Future<bool> compileProtoFileFromService({
  1. required UpperService service,
  2. required String workingDirectory,
})

Implementation

Future<bool> compileProtoFileFromService({
  required UpperService service,
  required String workingDirectory,
}) async {
  return await compileProtoFile(
      protoFile: 'protos/${service.protoName}',
      outPutPath: service.protoPath,
      workingDirectory: workingDirectory);
}