toPointer static method

Pointer<Void> toPointer(
  1. ArrowManeuverStyle? val
)

Implementation

static ffi.Pointer<ffi.Void> toPointer(ArrowManeuverStyle? val) {
  if (val == null) {
    return ffi.nullptr;
  }
  final result = malloc.call<ArrowManeuverStyleNative>();
  result.ref = toNative(val);

  return result.cast();
}