getLayerNames method
GetLayerNames returns all layer names.
For furtherdetails, please see: https://docs.opencv.org/master/db/d30/classcv_1_1dnn_1_1Net.html#ae8be9806024a0d1d41aba687cce99e6b
Implementation
List<String> getLayerNames() {
final cNames = calloc<cvg.VecVecChar>();
cvRun(() => cdnn.cv_dnn_Net_getLayerNames(ref, cNames, ffi.nullptr));
final vec = VecVecChar.fromPointer(cNames);
return vec.asStringList();
}