Calendar class Null safety

A calendar on the user's device

Constructors

Calendar({String? id, String? name, bool? isReadOnly, bool? isDefault, int? color, String? accountName, String? accountType})
Calendar.fromJson(Map<String, dynamic> json)

Properties

accountName String?
read / write
accountType String?
read / write
color int?
Read-only. Color of the calendar
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String?
Read-only. The unique identifier for this calendar
read / write
isDefault bool?
Read-only. If the calendar is the default
read / write
isReadOnly bool?
Read-only. If the calendar is read-only
read / write
name String?
The name of this calendar
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited