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