renameProperty method

void renameProperty(
  1. String className,
  2. String oldPropertyName,
  3. String newPropertyName
)

Renames a property during a migration.

Implementation

void renameProperty(String className, String oldPropertyName, String newPropertyName) {
  realmCore.renameProperty(newRealm, className, oldPropertyName, newPropertyName, _schema);
}