EntityField constructor

const EntityField({
  1. bool hidden = false,
  2. bool unique = false,
  3. bool indexed = false,
  4. num? minimum,
  5. num? maximum,
  6. bool validator(
    1. Object? value
    )?,
  7. String? regexp,
})

Implementation

const EntityField(
    {bool hidden = false,
    bool unique = false,
    bool indexed = false,
    this.minimum,
    this.maximum,
    this.validator,
    this.regexp})
    : _hidden = hidden,
      _unique = unique,
      _indexed = indexed;