PlanMember class

A member of a CalendarPlan.

Implemented types
Annotations

Constructors

PlanMember({@JsonKey(name: 'userid') required int id, @JsonKey(name: 'accesstype') required PlanMemberAccessType accessType})
A member of a CalendarPlan.
const
factory
PlanMember.fromJson(Map<String, Object?> json)
Creates a PlanMember from a JSON object.
factory

Properties

accessType PlanMemberAccessType
The access type of the member.
no setterinherited
copyWith → $PlanMemberCopyWith<PlanMember>
Create a copy of PlanMember with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The ID of the User.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(PlanMember other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this PlanMember to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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