compactRealm
Compacts the Realm file defined by the given configuration. Compaction can only succeed if all references to the Realm file has been closed.
This method is not available on Windows (JVM), and will throw an NotImplementedError there.
Return
true
if compaction succeeded, false
if not.
Parameters
configuration
configuration for the Realm to compact.