Calendar constructor

Calendar({
  1. required String id,
  2. required String name,
  3. required String color,
  4. required bool isDefaultCalendar,
  5. required String changeKey,
  6. required bool canShare,
  7. required bool canViewPrivateItems,
  8. required String hexColor,
  9. required bool canEdit,
  10. required List<String> allowedOnlineMeetingProviders,
  11. required String defaultOnlineMeetingProvider,
  12. required bool isTallyingResponses,
  13. required bool isRemovable,
  14. required CalendarOwner owner,
})

Creates a new instance of Calendar.

All parameters are required.

Implementation

Calendar({
  required this.id,
  required this.name,
  required this.color,
  required this.isDefaultCalendar,
  required this.changeKey,
  required this.canShare,
  required this.canViewPrivateItems,
  required this.hexColor,
  required this.canEdit,
  required this.allowedOnlineMeetingProviders,
  required this.defaultOnlineMeetingProvider,
  required this.isTallyingResponses,
  required this.isRemovable,
  required this.owner,
});