fromJson static method

RFIDParams? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  if (jsonObject["paIgnoreNotificationCodes"] != null)
    for (var item in jsonObject["paIgnoreNotificationCodes"])
      result.paIgnoreNotificationCodes.add(item);

  return result;
}