jsToDart function

  1. @Deprecated("Use `js_interop_utils` extension method `objectDartify`")
Object? jsToDart(
  1. Object? o
)

Converts o to Dart primitives or collections.

o Can be any primitive value, a JsArray or a JSObject).

Implementation

@Deprecated("Use `js_interop_utils` extension method `objectDartify`")
Object? jsToDart(Object? o) {
  return o?.objectDartify();
}