fromJson static method

PKDCertificate? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.binaryData = jsonObject["binaryData"];
  result.resourceType = jsonObject["resourceType"];
  result.privateKey = jsonObject["privateKey"];

  return result;
}