Jwk.fromJson constructor

Jwk.fromJson(
  1. Map json_
)

Implementation

Jwk.fromJson(core.Map json_)
    : this(
        alg: json_.containsKey('alg') ? json_['alg'] as core.String : null,
        crv: json_.containsKey('crv') ? json_['crv'] as core.String : null,
        e: json_.containsKey('e') ? json_['e'] as core.String : null,
        kid: json_.containsKey('kid') ? json_['kid'] as core.String : null,
        kty: json_.containsKey('kty') ? json_['kty'] as core.String : null,
        n: json_.containsKey('n') ? json_['n'] as core.String : null,
        use: json_.containsKey('use') ? json_['use'] as core.String : null,
        x: json_.containsKey('x') ? json_['x'] as core.String : null,
        y: json_.containsKey('y') ? json_['y'] as core.String : null,
      );