RangeDomain class final

The range of valid numbers or dates for a Field.

A range domain can specify the minimum and maximum value of a number or date for a field. Data entries outside the range will not be accepted in the field. When a user is editing data, you can present the RangeDomain.minValue and RangeDomain.maxValue to guide the user, and validate their input against the range domain before changes are saved. This helps to maintain data integrity.

Inheritance

Properties

fieldType FieldType
The field type of the domain.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
maxValue → dynamic
The range domain's maximum value.
no setter
minValue → dynamic
The range domain's minimum value.
no setter
name String
The name of the domain.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
toJsonString() String
Returns a JSON representation of this Object as a String.
inherited
toString() String
A string representation of this object.
inherited

Operators

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