create

inline fun create(block: DataList.Builder.() -> Unit): DataList

Creates a new DataList providing the Builder in a block for easy population

Return

A new DataList containing all entries added to the Builder

Parameters

block

A function used to populate the Builder with the required entries