CalendarPlan class

A plan of when to to which MoodleTasks.

Annotations

Constructors

CalendarPlan({required String name, @JsonKey(name: 'planid') required int id, required List<PlanDeadline> deadlines, required List<PlanMember> members})
A plan of when to to which MoodleTasks.
const
factory
CalendarPlan.fromJson(Map<String, Object?> json)
Creates a CalendarPlan from a JSON object.
factory

Properties

copyWith → $CalendarPlanCopyWith<CalendarPlan>
Create a copy of CalendarPlan with the given fields replaced by the non-null parameter values.
no setterinherited
deadlines List<PlanDeadline>
A list of deadlines planned by it's members.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The ID of this plan.
no setterinherited
members List<PlanMember>
A list of all Users participating in this plan and their respective access type.
no setterinherited
name String
The name of this plan.
no setterinherited
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>
Serializes this CalendarPlan to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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