fromJson static method

Attribute? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

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

  result._type = jsonObject["type"];
  result._value = RFIDValue.fromJson(jsonObject["value"]);

  return result;
}