with

fun with(schema: Set<KClass<out RealmObject>>): RealmConfiguration

Creates a configuration from the given schema, with default values for all properties.

Parameters

schema

the classes of the schema. The elements of the set must be direct class literals.