GetDigestResponse.fromJson constructor

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

Implementation

factory GetDigestResponse.fromJson(Map<String, dynamic> json) {
  return GetDigestResponse(
    digest: _s.decodeUint8List(json['Digest']! as String),
    digestTipAddress: ValueHolder.fromJson(
        json['DigestTipAddress'] as Map<String, dynamic>),
  );
}