TehsilPopulation class

Result of getTehsilPopulation: a tehsil's 2023 census counts.

Constructors

TehsilPopulation({required String tehsil, required String censusDistrict, required String? currentDistrict, required String province, required int population, required int households, required int urban, required int rural, int census = 2023, required String? note, required DataSource source})
Creates a tehsil population value.
const

Properties

census → int
Always 2023: the 7th Population and Housing Census.
final
censusDistrict → String
The district at the census.
final
currentDistrict → String?
The district today, or null where the tehsil's current district is not recorded in the data.
final
hashCode → int
The hash code for this object.
no setteroverride
households → int
Households.
final
note → String?
What the figures cover, or null.
final
population → int
Total population (all sexes).
final
province → String
Its province or territory.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
rural → int
Rural population.
final
source → DataSource
The census tables (dataset tehsil-population).
final
tehsil → String
The tehsil (or taluka, sub-division), as the census tables name it.
final
urban → int
Urban population.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
JSON form, with the same keys as the npm package.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override