fromJson static method

RFIDValidity? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

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

  result._notAfter = RFIDValue.fromJson(jsonObject["notAfter"]);
  result._notBefore = RFIDValue.fromJson(jsonObject["notBefore"]);

  return result;
}