isNewRecord property
bool
get
isNewRecord
If true
, this model has not yet been inserted into SQLite.
Implementation
bool get isNewRecord => primaryKey == NEW_RECORD_ID;
If true
, this model has not yet been inserted into SQLite.
bool get isNewRecord => primaryKey == NEW_RECORD_ID;