getParameters method

Implementation

@override
List<CalendarParameter<CalendarParameterValue>> getParameters() {
  return [
    if (locale != null) LanguageParameter(locale!),
    if (userType != null) CalendarUserTypeParameter(userType!),
    if (membershipEmails != null && membershipEmails!.isNotEmpty)
      GroupOrListMembershipParameter(membershipEmails!),
    if (participationRoleType != null)
      ParticipationRoleParameter(participationRoleType!),
    if (participationStatusType != null)
      ParticipationStatusParameter(participationStatusType!),
    if (rsvpExpectation != null) RSVPExpectationParameter(rsvpExpectation!),
    if (delegateeEmails != null && delegateeEmails!.isNotEmpty)
      DelegateesParameter(delegateeEmails!),
    if (delegatorEmails != null && delegatorEmails!.isNotEmpty)
      DelegatorsParameter(delegatorEmails!),
    if (sentByEmail != null) SentByParameter(sentByEmail!),
    if (commonName != null) CommonNameParameter(commonName!),
    if (directoryEntryUri != null)
      DirectoryEntryParameter(directoryEntryUri!),
  ];
}