toPointer static method
Implementation
static Pointer<Void> toPointer(math.Point<double>? val) {
if (val == null) {
return nullptr;
}
final result = malloc<ScreenPointNative>();
result.ref = ScreenPointImpl.toNative(val);
return result.cast();
}