save method

ModelState save()

Takes a snapshot of the model's current state.

Implementation

ModelState save() =>
    ModelState(value, calendar.value, comparisonEnabled, comparisonOption);