[][src]Function dart_sys::Dart_NewListOf

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

Returns a List of the desired length with the desired 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.