fromList

open fun fromList(list: List): WritableArray

Convert a List to a WritableArray.

Return

the converted WritableArray

Parameters

list

the list to convert. Supported value types are: null, String, Bundle, List, Number, Boolean, and all array types supported in fromArray.

Throws

if one of the values from the passed list is none of the above types