toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (freqMs != null) {
    _json[r'freq_ms'] = freqMs;
  }
  if (rw != null) {
    _json[r'rw'] = rw;
  }
  if (absAddress != null) {
    _json[r'abs_address'] = absAddress;
  }
  if (byteOrder != null) {
    _json[r'byte_order'] = byteOrder;
  }
  if (paramCode != null) {
    _json[r'ParamCode'] = paramCode;
  }
  if (paramDescription != null) {
    _json[r'ParamDescription'] = paramDescription;
  }
  if (dataType != null) {
    _json[r'data_type'] = dataType;
  }
  return _json;
}