createSnapshot method
Crates a snapshot of validator preserving it's current EntityValidator.isValid value
Implementation
@override
EntityValidator createSnapshot() {
return Lifespan._private(_wasBorn, _ttl, _SnapshotValidation(isValid()));
}
Crates a snapshot of validator preserving it's current EntityValidator.isValid value
@override
EntityValidator createSnapshot() {
return Lifespan._private(_wasBorn, _ttl, _SnapshotValidation(isValid()));
}