isNewRecord property

bool isNewRecord
inherited

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

Implementation

bool get isNewRecord => primaryKey == NEW_RECORD_ID;