postcode 0.0.3 postcode: ^0.0.3 copied to clipboard
Validate & parse UK postcodes, to assist in the development and creation of new functionality.
import 'package:postcode/postcode.dart';
void main() {
final POSTCODE = "sn3 3ey";
final NOT_POSTCODE = "3ab eye";
print(isValid(POSTCODE)); // => true
print(isValid(NOT_POSTCODE)); // => false
}