Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinYousefi committed Sep 24, 2024
1 parent 8720fcc commit 4c680c9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/jni/lib/src/method_invocation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ class MethodInvocation {
);
}

factory MethodInvocation.fromMessage(List<int> message) {
return MethodInvocation.fromAddresses(message[0], message[1], message[2]);
factory MethodInvocation.fromMessage(List<dynamic> message) {
return MethodInvocation.fromAddresses(
message[0] as int,
message[1] as int,
message[2] as int,
);
}
}

0 comments on commit 4c680c9

Please sign in to comment.