Skip to content

Commit 41a9e01

Browse files
authored
Add missing Int64.toDebugString for the native class (#927)
The emulated class has a `toDebugString` but the native class didn't.
1 parent 58b0a10 commit 41a9e01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/fixnum/lib/src/int64_native.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ class Int64 implements IntX {
357357

358358
String toStringUnsigned() => _toRadixStringUnsigned(_i, 10);
359359

360+
String toDebugString() => 'Int64[_i=$_i]';
361+
360362
static String _toRadixStringUnsigned(int value, int radix) {
361363
if (radix < 2 || radix > 36) {
362364
throw ArgumentError('toStringRadixUnsigned radix must be >= 2 and <= 36'

0 commit comments

Comments
 (0)