getLayerAsync method
Implementation
Future<Layer> getLayerAsync(int index) async {
final rval = cvRunAsync<Layer>(
(callback) => cdnn.Net_GetLayer_Async(ref, index, callback),
(c, result) => c.complete(Layer.fromPointer(result.cast<cdnn.Layer>())),
);
return rval;
}