importJsonWebKey static method Null safety

Future<EcdsaPrivateKey> importJsonWebKey(
  1. Map<String, dynamic> jwk,
  2. EllipticCurve curve
)

Implementation

static Future<EcdsaPrivateKey> importJsonWebKey(
  Map<String, dynamic> jwk,
  EllipticCurve curve,
) {
  ArgumentError.checkNotNull(jwk, 'jwk');
  ArgumentError.checkNotNull(curve, 'curve');

  return impl.ecdsaPrivateKey_importJsonWebKey(jwk, curve);
}