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