dzod 0.2.0
dzod: ^0.2.0 copied to clipboard
A powerful Dart schema validation library inspired by Zod, providing type-safe validation, parsing, and inference with excellent developer experience.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dzodThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
dzod: ^0.2.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dzod/dzod.dart';