From 389dbd91e85ff81669f4292b4eee56322896f6c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20A=C4=9Facan?= Date: Fri, 12 Dec 2025 13:48:46 +0000 Subject: [PATCH] Add missing Int64.toDebugString for the native class The emulated class has a `toDebugString` but the native class didn't. --- pkgs/fixnum/lib/src/int64_native.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/fixnum/lib/src/int64_native.dart b/pkgs/fixnum/lib/src/int64_native.dart index b15bc99b..a666cc9c 100644 --- a/pkgs/fixnum/lib/src/int64_native.dart +++ b/pkgs/fixnum/lib/src/int64_native.dart @@ -357,6 +357,8 @@ class Int64 implements IntX { String toStringUnsigned() => _toRadixStringUnsigned(_i, 10); + String toDebugString() => 'Int64[_i=$_i]'; + static String _toRadixStringUnsigned(int value, int radix) { if (radix < 2 || radix > 36) { throw ArgumentError('toStringRadixUnsigned radix must be >= 2 and <= 36'