isLocalDefault property

bool isLocalDefault
final

Whether this instance represents a default local value.

When true, indicates that this instance contains default values and hasn't been synced with Firestore yet. This field is excluded from JSON serialization and can be used to:

  • Track offline-first document states
  • Handle temporary documents before cloud sync
  • Manage default values in the UI

Implementation

final bool isLocalDefault;