shared property

TrustPin shared
final

The shared (default) TrustPin instance.

Use this for most applications that only need a single pinning configuration.

await TrustPin.shared.setup(config);
await TrustPin.shared.verify('api.example.com', pem);

Implementation

static final TrustPin shared = TrustPin._(null);