toBinary method

String toBinary()

Returns this as a binary string representation.

Implementation

String toBinary() => toRadixString(2);