convertToChronikInfo function
Implementation
types.ChronikInfo convertToChronikInfo(pb.ChronikInfo chronikInfo) {
if (chronikInfo.hasVersion()) {
return types.ChronikInfo(version: chronikInfo.version);
}
throw Exception('chronikInfo has no version');
}