CalendarEvent class Null safety
Constructors
- CalendarEvent({String? eventId, String? title = '', String? description = '', required DateTime? startDate, required DateTime? endDate, String? location, int? duration, bool? isAllDay = false, bool? hasAlarm = false, String? url, Attendees? attendees, Reminder? reminder})
-
CalendarEvent.fromJson(Map<
String, dynamic> data)
Properties
- attendees ↔ Attendees?
-
read / write
- description ↔ String?
-
read / write
- duration ↔ int?
-
read / write
- endDate ↔ DateTime?
-
read / write
- eventId ↔ String?
-
read / write
- hasAlarm ↔ bool?
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isAllDay ↔ bool?
-
read / write
- location ↔ String?
-
read / write
- reminder ↔ Reminder?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- startDate ↔ DateTime?
-
read / write
- title ↔ String?
-
read / write
- url ↔ String?
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setReminder(
Reminder reminder) → dynamic -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited