createAsync static method

Future<AlignMTB> createAsync({
  1. int maxBits = 6,
  2. int excludeRange = 4,
  3. bool cut = true,
})

Implementation

static Future<AlignMTB> createAsync({
  int maxBits = 6,
  int excludeRange = 4,
  bool cut = true,
}) async {
  return cvRunAsync(
    (callback) => cffi.AlignMTB_CreateWithParams_Async(
      maxBits,
      excludeRange,
      cut,
      callback,
    ),
    (c, p) => c.complete(AlignMTB.fromPointer(p.cast<cvg.AlignMTB>())),
  );
}