delete

fun RealmObject.delete()

Deletes the RealmObject.

Throws

InvalidArgumentException

if invoked on an invalid object