requestAttestation method

Future<PlatformAttestation> requestAttestation(
  1. String payload,
  2. AttestationOptions options
)

Asks Play Integrity (Android) or App Attest (iOS) for a token bound to payload: the nonce or client data hash is the SHA-256 of its UTF-8 bytes. Fails when the service is unavailable on this device.

Implementation

Future<PlatformAttestation> requestAttestation(
  String payload,
  AttestationOptions options,
) {
  throw UnimplementedError('requestAttestation() has not been implemented.');
}