[][src]Function dart_sys::Dart_NewListOfType

pub unsafe extern "C" fn Dart_NewListOfType(
    element_type: Dart_Handle,
    length: isize
) -> Dart_Handle

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

\param element_type Handle to a type object. E.g., from Dart_GetType.

\param length The length of the list.

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