PropType.enumeration constructor

const PropType.enumeration(
  1. String name,
  2. List<String> values
)

An enum: its Flutter name and its values' names.

Implementation

const PropType.enumeration(this.name, this.values)
  : kind = PropKind.enumeration,
    variableOf = null,
    item = null,
    _fields = null,
    _spec = null,
    min = null,
    max = null;