playIntegrityPayload method

  1. @override
Future<PlayIntegrity> playIntegrityPayload(
  1. String nonce,
  2. String decryptionKey,
  3. String verificationKey
)
override

Implementation

@override
Future<PlayIntegrity> playIntegrityPayload(
    String nonce, String decryptionKey, String verificationKey) async {
  final String payload =
      await methodChannel.invokeMethod('requestPlayIntegrity', {
    "nonce_string": nonce,
    "decryption_key": decryptionKey,
    "verification_key": verificationKey
  });

  return PlayIntegrity.fromJson(jsonDecode(payload));
}