dumpJson function

Object? dumpJson(
  1. Object? value, {
  2. Set<String> hideFields = const {},
})

Converts any object to scalar, map, list, or their combination.

Implementation

Object? dumpJson(
  Object? value, {
  Set<String> hideFields = const {},
}) {
  return _dumpJson(
    value,
    hideFields: hideFields,
    visited: {},
  );
}