safetyNetAttestationPayload method Null safety
- String nonce
Request the Safety Net Attestation with a String nonce The response is the payload from the JSON Web Signature (JWS)
Implementation
static Future<JWSPayloadModel> safetyNetAttestationPayload(
String nonce) async {
final String payload = await _channel.invokeMethod(
'requestSafetyNetAttestation',
{"nonce_string": nonce, "include_payload": true});
return JWSPayloadModel.fromJSON(jsonDecode(payload));
}