menu
Dart
dart:js_interop
NumToJSExtension
toJS property
toJS
dark_mode
light_mode
description
toJS
property
JSNumber
toJS
Converts this
num
to a
JSNumber
.
Implementation
JSNumber get toJS => DoubleToJSNumber(toDouble()).toJS;
Dart
dart:js_interop
NumToJSExtension
toJS property
NumToJSExtension extension on
num
Cookies management controls