Negative constructor

const Negative({
  1. String? message,
  2. List<Type> groups = const [],
})

The constraint; message replaces must be less than 0, and groups limits it to those validation groups.

Implementation

const Negative({super.message, super.groups});