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