Function dart_sys::Dart_NewListOf

source ·
pub unsafe extern "C" fn Dart_NewListOf(
    element_type_id: Dart_CoreType_Id,
    length: isize
) -> Dart_Handle
Expand description

Returns a List of the desired length with the desired legacy element type.

\param element_type_id The type of elements of the list. \param length The length of the list.

\return The List object if no error occurs. Otherwise returns an error handle.