getProperties method
Implementation
@override
List<CalendarProperty<CalendarValue>> getProperties() {
return [
ActionProperty(ActionType.email),
description,
summary,
...attendees,
...(<CalendarProperty<CalendarValue>?>[
dateTimeTrigger,
durationTrigger,
duration,
repeatCount,
].where((element) => element != null).map((e) => e!).toList()),
...(<List<CalendarProperty<CalendarValue>>?>[
uriAttachments,
binaryAttachments,
]
.where((element) => element != null)
.map((e) => e!)
.expand((element) => element)
.toList()),
];
}