playIntegrityApiManualPayload method
Request the Safety Net Attestation with a String nonce The response is the payload from the JSON Web Signature (JWS)
Implementation
@override
Future<JWSPayloadModel> playIntegrityApiManualPayload({
required int projectNumber,
String keyType = "EC",
}) async {
final String payload = await methodChannel.invokeMethod(
'requestPlayIntegrityApiManual',
{"cloud_project_number": projectNumber, "ec_key_type": keyType});
return JWSPayloadModel.fromJson(jsonDecode(payload));
}