fromJson static method

Validity? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.notAfter = Value.fromJson(jsonObject["notAfter"]);
  result.notBefore = Value.fromJson(jsonObject["notBefore"]);

  return result;
}