fromJson static method
Implementation
@visibleForTesting
static PKDCertificate? fromJson(jsonObject) {
if (jsonObject == null) return null;
return PKDCertificate(
_dataFromBase64(jsonObject["binaryData"])!,
PKDResourceType.getByValue(jsonObject["resourceType"])!,
privateKey: _dataFromBase64(jsonObject["privateKey"]),
);
}