CustomFieldValidationRules class

Annotations
  • @freezed

Constructors

CustomFieldValidationRules({String? checkboxText, String? regex, bool? unique, List<CustomFieldValidValue>? validOptions})
const
factory
CustomFieldValidationRules.fromJson(Map<String, dynamic> json)
factory

Properties

checkboxText → String?
The text that will be displayed for the checkbox field
no setterinherited
copyWith → $CustomFieldValidationRulesCopyWith<CustomFieldValidationRules>
Create a copy of CustomFieldValidationRules with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
regex → String?
The regex pattern that the text field must match
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unique → bool?
If this field must be unique for every user in the environment
no setterinherited
validOptions → List<CustomFieldValidValue>?
The dropdown options for the select field
no setterinherited

Methods

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

Operators

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