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