toOctal method
Converts this number to its octal string representation.
8.toOctal() // '10'
Implementation
String toOctal() => toInt().toRadixString(8);
Converts this number to its octal string representation.
8.toOctal() // '10'
String toOctal() => toInt().toRadixString(8);