PlanMember constructor

const PlanMember({
  1. @JsonKey(name: 'userid') required int id,
  2. @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;