setPreferableTargetAsync method

Future<void> setPreferableTargetAsync(
  1. int targetId
)

Implementation

Future<void> setPreferableTargetAsync(int targetId) async {
  await cvRunAsync0<void>(
    (callback) => cdnn.Net_SetPreferableTarget_Async(ref, targetId, callback),
    (c) => c.complete(),
  );
}