fromJson static method

PAAttribute? fromJson(
  1. dynamic jsonObject
)

Implementation

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

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

  return result;
}