From 4c680c9e19278121d290a4bed2d74d75d9472a57 Mon Sep 17 00:00:00 2001 From: Hossein Yousefi Date: Tue, 24 Sep 2024 07:18:56 +0200 Subject: [PATCH] Fix tests --- pkgs/jni/lib/src/method_invocation.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/jni/lib/src/method_invocation.dart b/pkgs/jni/lib/src/method_invocation.dart index 723246472..ee779b55f 100644 --- a/pkgs/jni/lib/src/method_invocation.dart +++ b/pkgs/jni/lib/src/method_invocation.dart @@ -36,7 +36,11 @@ class MethodInvocation { ); } - factory MethodInvocation.fromMessage(List message) { - return MethodInvocation.fromAddresses(message[0], message[1], message[2]); + factory MethodInvocation.fromMessage(List message) { + return MethodInvocation.fromAddresses( + message[0] as int, + message[1] as int, + message[2] as int, + ); } }