akwap 0.0.1 akwap: ^0.0.1 copied to clipboard
A database of Uganda's districts, counties, sub-counties, parishes and villages.
akwap #
A database of Uganda's districts, counties, sub-counties, parishes and villages, complete with full dart support.
Usage #
Import the library
import 'package:akwap/akwap.dart';
Loading Locations #
import 'package:akwap/akwap.dart';
const _districts = await districts;
// get first district
print(_districts.findByName('ABIM'));
// [{
// id: 98,
// name: 'ABIM',
// counties: [...]
// }]
Example preview #
Note: The package is not 100% accurate as we do not have a single source of truth for Ugandan locations. All corrections and additions are welcome.