toFloat64 property

double? get toFloat64

Implementation

double? get toFloat64 {
  final pres = calloc.call<Double>(sizeOf<Double>());
  final ret = JS_ToFloat64(_ctx.ref, pres, _ref.ref);
  if (ret != 0) return null;
  try {
    return pres.value;
  } finally {
    calloc.free(pres);
  }
}