CustomFieldValidationRules constructor

const CustomFieldValidationRules({
  1. String? checkboxText,
  2. String? regex,
  3. bool? unique,
  4. List<CustomFieldValidValue>? validOptions,
})

Implementation

const factory CustomFieldValidationRules({
  ///The text that will be displayed for the checkbox field
  String? checkboxText,

  ///The regex pattern that the text field must match
  String? regex,

  ///If this field must be unique for every user in the environment
  bool? unique,

  ///The dropdown options for the select field
  List<CustomFieldValidValue>? validOptions,
}) = _CustomFieldValidationRules;