Converts a flat List<X> into an allocated P array.
List<X>
P
The caller is responsible for the lifetime of the inner pointers.
@override final Pointer<C> Function(List<X> array) rawArrayFunc;