isAdd property Null safety

bool isAdd

True if the record was added.

Implementation

bool get isAdd => oldValue == null;