getLayerNamesAsync method

Future<List<String>> getLayerNamesAsync()

Implementation

Future<List<String>> getLayerNamesAsync() async {
  final rval = cvRunAsync<List<String>>(
    (callback) => cdnn.Net_GetLayerNames_Async(ref, callback),
    (c, result) => c.complete(VecVecChar.fromPointer(result.cast<cdnn.VecVecChar>()).asStringList()),
  );
  return rval;
}