Pkcs7.fromPem constructor Null safety

Pkcs7.fromPem(
  1. String pem
)

Creates a Pkcs7 message from a PEM encoded string.

Implementation

factory Pkcs7.fromPem(String pem) => Pkcs7.fromDer(
      Uint8List.fromList(PemCodec(PemLabel.pkcs7).decode(pem)),
    );