toJson method

Map<String, dynamic> toJson()

Implementation

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