Cert.fromJson constructor

Cert.fromJson(
  1. Map json
)

Implementation

factory Cert.fromJson(Map json) {
  return Cert(
      delegation: json["delegation"] != null
          ? Delegation.fromJson(Map<String, dynamic>.from(json["delegation"]))
          : null,
      signature: json["signature"] != null
          ? (json["signature"] as Uint8Buffer).buffer.asUint8List()
          : null,
      tree: json["tree"]);
}