dpi_validator 1.0.0 copy "dpi_validator: ^1.0.0" to clipboard
dpi_validator: ^1.0.0 copied to clipboard

A DPI validator. This validate and return values of department and municipality by DPI.

example/README.md

Example #

To use functions, you only need to import the package and then use function as you want.

Here is a simple examples

import 'package:dpi_validator/dpi_validator.dart';

// Will return an object.
// DPIResponse(
//  message: "OK",
//  isValid: true,
//  municipality: "Municipio de Guatemala",
//  department: "GUATEMALA")
validateDPI("1234567890101");

// Will return a string. For example: "Municipio de Guatemala"
findMunicipality("1234567890101");

// Will return a string. For example: "GUATEMALA", "JUTIAPA"
findDepartment("1234567890101");
4
likes
150
points
34
downloads

Publisher

verified publisherbrandonmanzo.dev

Weekly Downloads

A DPI validator. This validate and return values of department and municipality by DPI.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on dpi_validator