Holiday class

An object for repersenting holiday

Inheritance

Constructors

Holiday({required String name, required DateTime date})
Create holiday
Holiday.parse({required String name, required String date})
Create holiday with date String

Properties

dateTime DateTime
Get Holiday's DateTime
no setter
hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>
Generate json object
no setteroverride
name String
Remind's name
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isOngoing(DateTime dateTime) bool
Checking this remind is ongoing
inherited
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