toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final n = this.n;
  final s = this.s;
  final sdm = this.sdm;
  final sl = this.sl;
  return {
    if (n != null) 'N': n,
    if (s != null) 'S': s,
    if (sdm != null) 'SDM': sdm,
    if (sl != null) 'SL': sl,
  };
}