isNewRecord property

bool isNewRecord

If true, this model has not yet been inserted into SQLite.

Implementation

bool get isNewRecord => primaryKey == NEW_RECORD_ID;