postcode 0.0.3

Validate & parse UK postcodes, to assist in the development and creation of new functionality.

postcode

Validate & parse UK postcodes

Validate

import 'package:postcode/postcode.dart';

isValid("AA1 1AB")); // => true

TODO: Parse

Pass a string to parse. This will return a valid or invalid postcode instance which can be easily destructured.

License

MIT