toEncodable static method

Object? toEncodable(
  1. Object? object
)

Converts an object to a JSON-encodable format. This method is used by the JSON encoder to convert objects to JSON.

Implementation

static Object? toEncodable(Object? object) => _toEncodable(object, false);