IsNew property
Implementation
@override
bool get IsNew {
// Item attachments don't have an Id, need to check whether the
// parentAttachment is new or not.
if (this.IsAttachment) {
return this.ParentAttachment!.IsNew;
} else {
return super.IsNew;
}
}