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

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

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

\param length The length of the list.

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