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