jsObjectToMap function

  1. @Deprecated("Use `js_interop_utils` extension method `toMap`")
Map? jsObjectToMap(
  1. JSObject? o
)

Converts a JSObject o to a Map. Also converts keys and values using jsToDart.

Implementation

@Deprecated("Use `js_interop_utils` extension method `toMap`")
Map? jsObjectToMap(JSObject? o) {
  return o?.toMap();
}