getMatchingScore method

  1. @override
Future<int?> getMatchingScore(
  1. Uint8List firstBytes,
  2. Uint8List secondBytes
)
override

Implementation

@override
Future<int?> getMatchingScore(Uint8List firstBytes, Uint8List secondBytes) async {
  try {
    final result = await methodChannel.invokeMethod<int>(
      METHOD_GET_MATCHING_SCORE,
      [firstBytes, secondBytes],
    );
    return result;
  } on PlatformException catch (e) {
    throw _libException(e);
  }
}