toPointer static method

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

Implementation

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