Jwk.fromString constructor

Jwk.fromString(
  1. String str
)

Creates a Jwk instance from a JSON string.

The str parameter is a JSON string containing the JWK properties.

Implementation

factory Jwk.fromString(String str) {
  return Jwk.fromJson(jsonDecode(str));
}