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) {
  newRealm.handle.renameProperty(className, oldPropertyName, newPropertyName, _schema);
}