Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 384 Bytes

File metadata and controls

12 lines (9 loc) · 384 Bytes

nonnegative

This folder Illustrates the non-negative example. It contains a simple definition of a write-interceptor that ensures no one assigns a negative value on an integer field.

Run the example test as follows:

pub run test/nonnegative_test.dart