betto_schema 0.1.0-dev.1
betto_schema: ^0.1.0-dev.1 copied to clipboard
Pure Dart JSON Schema 2020-12 library. Typed, composable validators, a full keyword rule tree, and format validators for email, URI, date-time, UUID, and more.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add betto_schemaWith Flutter:
$ flutter pub add betto_schemaThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
betto_schema: ^0.1.0-dev.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:betto_schema/betto_schema.dart';