Calendar class
Represents a calendar.
Each instance holds various details about the calendar, such as its ID, name, color, default status, change key, sharing permissions, private item viewing permissions, hex color, editing permissions, allowed online meeting providers, default online meeting provider, tallying responses status, removable status, and owner.
Constructors
-
Calendar({required String id, required String name, required String color, required bool isDefaultCalendar, required String changeKey, required bool canViewPrivateItems, required String hexColor, required bool canEdit, required List<
String> allowedOnlineMeetingProviders, required String defaultOnlineMeetingProvider, required bool isTallyingResponses, required bool isRemovable, required CalendarOwner owner}) - Creates a new instance of Calendar.
-
Calendar.fromJson(Map<
String, dynamic> json) -
Creates a new instance of Calendar from a JSON object.
factory
Properties
-
allowedOnlineMeetingProviders
→ List<
String> -
The list of online meeting providers that are allowed for the calendar.
final
- canEdit → bool
-
Indicates whether the calendar can be edited.
final
-
Indicates whether the calendar can be shared.
final
- canViewPrivateItems → bool
-
Indicates whether private items can be viewed in the calendar.
final
- changeKey → String
-
The change key of the calendar.
final
- color → String
-
The color of the calendar.
final
- defaultOnlineMeetingProvider → String
-
The default online meeting provider for the calendar.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hexColor → String
-
The hex color code of the calendar.
final
- id → String
-
The ID of the calendar.
final
- isDefaultCalendar → bool
-
Indicates whether this calendar is the default calendar.
final
- isRemovable → bool
-
Indicates whether the calendar is removable.
final
- isTallyingResponses → bool
-
Indicates whether responses are being tallied for the calendar.
final
- name → String
-
The name of the calendar.
final
- owner → CalendarOwner
-
The owner of the calendar.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this Calendar object to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited