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