toBinary method

String toBinary()

Binary representation (e.g. 5.toBinary() -> 101).

Implementation

String toBinary() => toRadixString(2);