Positive constructor

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

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

Implementation

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