shouldDeleteIfMigrationNeeded property

bool shouldDeleteIfMigrationNeeded
final

Specifies if a realm file should be deleted in case the schema on disk doesn't match the schema in code. Setting this to true can lead to data loss.

Implementation

final bool shouldDeleteIfMigrationNeeded;