isEmptyAsync method

Future<bool> isEmptyAsync()

Implementation

Future<bool> isEmptyAsync() async {
  final rval = cvRunAsync<bool>(
    (callback) => cffi.Net_Empty_Async(ref, callback),
    (c, p) {
      final rval = p.cast<ffi.Bool>().value;
      calloc.free(p);
      return c.complete(rval);
    },
  );
  return rval;
}