GetJSONWebKeysResponse.fromJson constructor

GetJSONWebKeysResponse.fromJson(
  1. Map json_
)

Implementation

GetJSONWebKeysResponse.fromJson(core.Map json_)
    : this(
        cacheHeader: json_.containsKey('cacheHeader')
            ? HttpCacheControlResponseHeader.fromJson(
                json_['cacheHeader'] as core.Map<core.String, core.dynamic>)
            : null,
        keys: json_.containsKey('keys')
            ? (json_['keys'] as core.List)
                .map((value) => Jwk.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );