assessLocal method
Chạy assessment native và chuẩn hóa payload thành SecurityAssessment.
Implementation
@override
/// Chạy assessment native và chuẩn hóa payload thành [SecurityAssessment].
Future<SecurityAssessment> assessLocal(SecurityOptions options) async {
final payload = await methodChannel
.invokeMethod<Object?>('assess', <String, Object?>{
'expectedAndroidCertificateSha256':
options.expectedAndroidCertificateSha256.toList()..sort(),
'expectedIosApplicationIdentifierPrefixes':
options.expectedIosApplicationIdentifierPrefixes.toList()..sort(),
});
return _parseAssessment(payload);
}