Certificate.fromMap constructor

Certificate.fromMap(
  1. Map<String, dynamic> json
)

Implementation

Certificate.fromMap(Map<String, dynamic> json) {
  alias = json["alias"];
  algorithm = json["algorithm"];
  issuer = json["issuer"];
  oid = json["oid"];
  owner = json["owner"];
  serialNumber = json["serialNumber"];
  validFrom = json["validFrom"];
  validTo = json["validTo"];
  version = json["version"] != null ? int.tryParse(json["version"]) : null;
}