SignResponse.fromJson constructor

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

Implementation

factory SignResponse.fromJson(Map<String, dynamic> json) {
  return SignResponse(
    keyId: json['KeyId'] as String?,
    signature: _s.decodeNullableUint8List(json['Signature'] as String?),
    signingAlgorithm:
        (json['SigningAlgorithm'] as String?)?.toSigningAlgorithmSpec(),
  );
}