fromOptionalPtr static method

ClusterMapObject? fromOptionalPtr(
  1. Pointer<Void> ptr
)

Implementation

static ClusterMapObject? fromOptionalPtr(Pointer<Void> ptr) {
    if (ptr.address == 0) return null;
    return ClusterMapObject$Impl.fromNativePtr(ptr);
}