core.Map<core.String, core.dynamic> toJson() => { if (configMembership != null) 'configMembership': configMembership!, };