jsonEncode function

String jsonEncode(
  1. Object? value, {
  2. Object? toEncodable(
    1. dynamic object
    )?,
})

Converts value to a JSON string.

Implementation

String jsonEncode(Object? value, {Object? toEncodable(dynamic object)?}) =>
    json.encode(value, toEncodable: toEncodable);