toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "sdkDatSavePath": sdkDatSavePath,
      "noCall": noCall,
      "noQueue": noQueue,
      "noMediaDatToSvr": noMediaDatToSvr,
      "timeOut": timeOut != null
          ? timeOut! > 120000
              ? 120000
              : timeOut! < 0
                  ? 10000
                  : timeOut
          : 10000,
      "datEncType": datEncType ?? "1"
    };