fromJson static method

PAAttribute? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.type = jsonObject["type"];
  result.value = jsonObject["value"];

  return result;
}