fromCollection

Converts a Collection to the supported DataList type.

Any unsupported types contained in the provided collection will throw.