EnumRule constructor

const EnumRule(
  1. List values
)

Implementation

const EnumRule(this.values);