add

abstract fun add(value: T)(source)

Adds a new value to the end of the model.

Parameters

value

to add


abstract fun add(index: Int, value: T)(source)

Inserts a new value to the model at an index.

Parameters

index

where the new value should go

value

to add