PlanMember constructor
- @JsonKey(name: 'userid') required int id,
- @JsonKey(name: 'accesstype') required PlanMemberAccessType accessType,
A member of a CalendarPlan.
Implementation
const factory PlanMember({
/// The ID of the [User].
@JsonKey(name: 'userid') required int id,
/// The access type of the member.
@JsonKey(name: 'accesstype') required PlanMemberAccessType accessType,
}) = _PlanMember;