add Or Update

fun addOrUpdate(item: Data)

Method to add data if not exist, and update if it exist

Parameters

item

item to be added or updated

Sources

Link copied to clipboard