fromJson static method

CardProperties? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

static CardProperties? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = 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;
}