static BigInt? safeDivideBigInt(BigInt? a, BigInt? b) { if (a == null || b == null || b == BigInt.zero) return null; return a ~/ b; }