toPointer static method
Implementation
static Pointer<Void> toPointer(LocationPolyline? val) {
if (val == null) {
return nullptr;
}
final result = malloc<LocationPolylineNative>();
result.ref = toNative(val);
return result.cast();
}