create

fun create(type: String, vararg properties: Pair<String, Any?>): DynamicMutableRealmObject
fun create(type: String, properties: Map<String, Any?> = emptyMap()): DynamicMutableRealmObject

Create an unmanaged dynamic object.

The type and properties are only checked when the object is imported through DynamicMutableRealm.copyToRealm or DynamicMutableRealm.insert.

Parameters

type

the class name of the object.

properties

properties of the object.

See also