validate 1.0.1 copy "validate: ^1.0.1" to clipboard
validate: ^1.0.1 copied to clipboard

outdatedDart 1 only

This class assists in validating method arguments

Validate #

Lightweight library for validating function arguments.

This library is mainly a port of Apaches org.apache.commons.lang3.Validate class

Validation is necessary on most public-facing APIs. Parameter validation on non-public methods is not as important - it is often desirable to have validation occur only once, at the public 'entry point' - but if you can live with the potential performance hit, I recommend to validate parameters everywhere, as it makes code maintenance and refactoring a bit easier.

For further documentation please refere to the Unit-Tests.

3
likes
0
pub points
86%
popularity

Publisher

unverified uploader

This class assists in validating method arguments

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on validate