SparseUnionArray.data_type


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.14.0" ) ]
public SparseUnionArray.data_type (SparseUnionDataType data_type, Int8Array type_ids, List<Array> fields) throws Error

Parameters:

data_type

The data type for the sparse array.

type_ids

The field type IDs for each value as Int8Array.

fields

The arrays for each field as List of Array.

Returns:

A newly created SparseUnionArray or null on error.