AllDayEvents class

An Events which hold a whole day

Inheritance

Constructors

AllDayEvents({required String name, required DateTime from, required DateTime to, String? description})
Create all day events

Properties

description String?
Optional string for describe this Events
finalinherited
from DateTime
Get when this Events start
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>
Generate json object
no setterinherited
name String
Remind's name
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to DateTime
Get when this Events end
no setterinherited

Methods

isHappening(DateTime dateTime) bool
Check dateTime's datetime is happening
inherited
isOngoing(DateTime dateTime) bool
Like isOngoing, but check dateTime's date only
inherited
isOngoingDate(DateTime dateTime) bool
Like isOngoing, but check dateTime's date only
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