positiveInteger static method

StorageStrategy<int> positiveInteger()

Returns a strategy for positive int objects.

Implementation

static StorageStrategy<int> positiveInteger() =>
    PositiveIntegerStorageStrategy();