PopulationRange class

Range for the whole population

Constructors

PopulationRange({required Range global, required Range globalMale, required Range globalFemale, required SexRange male, required SexRange female, required SexRange other})
Constructor
const

Properties

female → SexRange
Range for female population stratified by age group
final
global → Range
Range for the whole population
final
globalFemale → Range
Range for the female population
final
globalMale → Range
Range for the male population
final
hashCode → int
The hash code for this object.
no setterinherited
male → SexRange
Range for male population stratified by age group
final
other → SexRange
Range for other population stratified by age group
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getHigh({int yearOfBirth = 0, Gender gender = Gender.unknown}) → double
Get the 75th percentile for a specific year of birth and gender
getLow({int yearOfBirth = 0, Gender gender = Gender.unknown}) → double
Get the 25th percentile for a specific year of birth and gender
getPopulationRange({int yearOfBirth = 0, Gender gender = Gender.unknown}) → Pair<int, int>
Get the population range for a specific year of birth and gender
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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