isSuccess property
The operation has been completeded successfully and it has been acknowledged Please note that if the write concern was not majority the operation could be rollbacked yet in case of primary failure
Implementation
bool get isSuccess {
if (!isAcknowledged) {
return false;
}
return taskCompleted;
}