executeCompileProtos function
Implementation
Future<bool> executeCompileProtos(
Map<String, dynamic> upperJson, {
required String path,
}) {
return getUpperProjectFromMap(upperJson).fold(
(l) async {
print(l);
return false;
},
(upperJson) async {
return await compileProtoFileFromProject(
project: upperJson,
workingDirectory: path,
);
},
);
}