KeyCustody.fromJson constructor

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

Read this payload from a decoded JSON object.

Implementation

factory KeyCustody.fromJson(Map<String, dynamic> json) => KeyCustody(
      tier: KeyCustodyTier(json['tier'] as String),
      signingAlg: json['signingAlg'] as String?,
      keyAgreementCurve: json['keyAgreementCurve'] as String?,
    );