fromJson static method

TAChallenge? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.data = jsonObject["data"];
  result.auxPCD = jsonObject["auxPCD"];
  result.challengePICC = jsonObject["challengePICC"];
  result.hashPK = jsonObject["hashPK"];
  result.idPICC = jsonObject["idPICC"];

  return result;
}