getLayer method
GetLayer returns pointer to layer with specified id from the network.
For further details, please see: https://docs.opencv.org/master/db/d30/classcv_1_1dnn_1_1Net.html#a70aec7f768f38c32b1ee25f3a56526df
Implementation
Layer getLayer(int index) {
final p = calloc<cvg.Layer>();
cvRun(() => cffi.Net_GetLayer(ref, index, p));
final layer = Layer.fromPointer(p);
return layer;
}