fromJson static method

SecurityObject? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

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

  result._fileReference = jsonObject["fileReference"];
  result._version = jsonObject["version"];
  result._objectType = jsonObject["objectType"];
  result._notifications = _intListFrom(jsonObject["notifications"])!;
  for (var item in jsonObject["signerInfos"]) {
    result.signerInfos.addSafe(SignerInfo.fromJson(item));
  }

  return result;
}