sanationes 0.0.1 copy "sanationes: ^0.0.1" to clipboard
sanationes: ^0.0.1 copied to clipboard

outdated

A Dart package for all platforms to make some validations in native data types.

Sanationes #

A Dart package for all platforms to make some validations in native data types.

Note: it's a starting package, however, has some validations to add yet.

Features #

  • Use external class to make validations;
  • Use extension method to make validations;

Installation #

Easy and simple, add sanationes as a dependency in your pubspec.yaml file.

Usage #

Generally, can you use by two ways, by external Validations class or extensions of data type.

Example by Validations class:

import 'package:sanationes/sanationes.dart';

void main() {
  print(Validations.instance().isEmail('peter@gmail.com')); // true
}

Or, by extensions:

import 'package:sanationes/sanationes.dart';

void main() {
  print('peter@gmail.com'.isEmail);
}

Note: it's a starting package, however, has some validations to add yet.

1
likes
0
pub points
18%
popularity

Publisher

unverified uploader

A Dart package for all platforms to make some validations in native data types.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable

More

Packages that depend on sanationes