binaryOf static method

String binaryOf(
  1. int n
)

Returns a binary string of bits representing n.

Implementation

static String binaryOf(int n) => n.toRadixString(2);