HolidayId enum
Identifier of a Pakistani federal public holiday.
Values
- eidUlFitr → const HolidayId
-
Eid ul Fitr (Islamic).
const HolidayId('eid-ul-fitr', 'eidUlFitr') - eidUlAdha → const HolidayId
-
Eid ul Adha (Islamic).
const HolidayId('eid-ul-adha', 'eidUlAdha') - ashura → const HolidayId
-
Ashura, 9–10 Muharram (Islamic).
const HolidayId('ashura', 'ashura') - eidMiladUnNabi → const HolidayId
-
Eid Milad un Nabi, 12 Rabi al-Awwal (Islamic).
const HolidayId('eid-milad-un-nabi', 'eidMiladUnNabi') - kashmirDay → const HolidayId
-
Kashmir Solidarity Day, 5 February.
const HolidayId('kashmir-day') - pakistanDay → const HolidayId
-
Pakistan Day, 23 March.
const HolidayId('pakistan-day') - labourDay → const HolidayId
-
Labour Day, 1 May.
const HolidayId('labour-day') - youmETakbeer → const HolidayId
-
Youm-e-Takbeer, 28 May (from 2024).
const HolidayId('youm-e-takbeer') - independenceDay → const HolidayId
-
Independence Day, 14 August.
const HolidayId('independence-day') - iqbalDay → const HolidayId
-
Iqbal Day, 9 November (not 2015–2021).
const HolidayId('iqbal-day') - quaidEAzamDay → const HolidayId
-
Quaid-e-Azam Day / Christmas, 25 December.
const HolidayId('quaid-e-azam-day') - dayAfterChristmas → const HolidayId
-
Day after Christmas, 26 December (Christian employees only).
const HolidayId('day-after-christmas')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isIslamic → bool
-
Whether this is an Islamic holiday, whose date depends on moon sighting.
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value used by the npm package, e.g.
"eid-ul-fitr".final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Returns value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited