doubleCompleter function

void doubleCompleter(
  1. Completer<double> completer,
  2. VoidPtr p
)

Implementation

void doubleCompleter(Completer<double> completer, VoidPtr p) {
  final value = p.cast<ffi.Double>().value;
  calloc.free(p);
  completer.complete(value);
}