onCreated

abstract fun onCreated(version: Int)

Called when new EntityDataStore has been created. Override this method to setup the default state of the entity store.

Parameters

version

schema version of the store.