DataValidationRule class

A data validation rule.

Constructors

DataValidationRule({BooleanCondition? condition, String? inputMessage, bool? showCustomUi, bool? strict})
DataValidationRule.fromJson(Map json_)

Properties

condition ↔ BooleanCondition?
The condition that data in the cell must match.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
inputMessage ↔ String?
A message to show the user when adding data to the cell.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showCustomUi ↔ bool?
True if the UI should be customized based on the kind of condition.
getter/setter pair
strict ↔ bool?
True if invalid data should be rejected.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited