dvhcvn 2.0.20250101 copy "dvhcvn: ^2.0.20250101" to clipboard
dvhcvn: ^2.0.20250101 copied to clipboard

Three tiers of Vietnam's administrative units (last update: 01/01/2025)

example/lib/main.dart

// ignore_for_file: avoid_print

import 'package:dvhcvn/dvhcvn.dart' as dvhcvn;

void main() {
  final haNoi = dvhcvn.findLevel1ById('01');
  final baDinh = haNoi?.findLevel2ById('001');
  final phucXa = baDinh?.findLevel3ById('00001');

  print(phucXa); // Thành phố Hà Nội > Quận Ba Đình > Phường Phúc Xá
}
24
likes
160
points
217
downloads

Publisher

verified publisherdaohoangson.com

Weekly Downloads

Three tiers of Vietnam's administrative units (last update: 01/01/2025)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on dvhcvn