fromJson static method

CardProperties? fromJson(
  1. dynamic jsonObject
)

Implementation

static CardProperties? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new CardProperties();

  result.aTQA = jsonObject["aTQA"];
  result.bitRateR = jsonObject["bitRateR"];
  result.bitRateS = jsonObject["bitRateS"];
  result.chipTypeA = jsonObject["chipTypeA"];
  result.mifareMemory = jsonObject["mifareMemory"];
  result.rfidType = jsonObject["rfidType"];
  result.sAK = jsonObject["sAK"];
  result.support4 = jsonObject["support4"];
  result.supportMifare = jsonObject["supportMifare"];
  result.aTQB = jsonObject["aTQB"];
  result.aTR = jsonObject["aTR"];
  result.baudrate1 = jsonObject["baudrate1"];
  result.baudrate2 = jsonObject["baudrate2"];
  result.uID = jsonObject["uID"];

  return result;
}