getLayerNamesAsync method

Future<List<String>> getLayerNamesAsync()

Implementation

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