Skip to content

Calendar

The calendar events on the device in a period.

Collected by CalendarProbe for the CommunicationSamplingPackage.CALENDAR measure.

Inheritance
Annotations

Constructors

Calendar.fromJson

Calendar.fromJson(
  1. Map<String, dynamic> json
)

Calendar

Calendar(
  1. DateTime start,
  2. DateTime end, [
  3. List<CalendarEvent> calendarEvents = const []
])

Properties

calendarEvents

List<CalendarEvent> calendarEvents
getter/setter pair

The list of calendar entries collected.

end

DateTime end
getter/setter pair

The start and end of the period this calendar data covers.

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

start

DateTime start
getter/setter pair

The start and end of the period this calendar data covers.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.