isUpdate property

bool get isUpdate

Whether this screen is in update/edit mode.

Implementation

bool get isUpdate => widget.payload != null;