PublicKey.fromJson constructor

PublicKey.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PublicKey.fromJson(Map<String, dynamic> json) {
  return PublicKey(
    fingerprint: json['Fingerprint'] as String?,
    validityEndTime: timeStampFromJson(json['ValidityEndTime']),
    validityStartTime: timeStampFromJson(json['ValidityStartTime']),
    value: _s.decodeNullableUint8List(json['Value'] as String?),
  );
}