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