Validate.constant constructor

const Validate.constant()

A validator that ensures a value cannot be modified after insertion.

This is equivalent to `Validate.absent(onUpdate: true, onInsert: false).

Implementation

const Validate.constant() : this.absent(onUpdate: true, onInsert: false);