toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (aTQA != null) _result.addAll({"aTQA": aTQA});
  if (bitRateR != null) _result.addAll({"bitRateR": bitRateR});
  if (bitRateS != null) _result.addAll({"bitRateS": bitRateS});
  if (chipTypeA != null) _result.addAll({"chipTypeA": chipTypeA});
  if (mifareMemory != null) _result.addAll({"mifareMemory": mifareMemory});
  if (rfidType != null) _result.addAll({"rfidType": rfidType});
  if (sAK != null) _result.addAll({"sAK": sAK});
  if (support4 != null) _result.addAll({"support4": support4});
  if (supportMifare != null) _result.addAll({"supportMifare": supportMifare});
  if (aTQB != null) _result.addAll({"aTQB": aTQB});
  if (aTR != null) _result.addAll({"aTR": aTR});
  if (baudrate1 != null) _result.addAll({"baudrate1": baudrate1});
  if (baudrate2 != null) _result.addAll({"baudrate2": baudrate2});
  if (uID != null) _result.addAll({"uID": uID});

  return _result;
}