fromJson static method

RFIDValue? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

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

  result._length = jsonObject["length"];
  result._type = jsonObject["type"];
  result._status = jsonObject["status"];
  result._data = jsonObject["data"];
  result._format = jsonObject["format"];

  return result;
}