verifyBack method
Verify document back
Implementation
Future<VerificationResponse> verifyBack(
String sessionId,
File photo,
) async {
try {
final Map<String, dynamic> response = await _plugin.verifyDocumentBack(
sessionId,
{
'photo': photo,
},
);
return VerificationResponse.fromJson(response);
} catch (e) {
throw Exception('Failed to verify back: $e');
}
}