JsonSortedEncoder.withIndent constructor

const JsonSortedEncoder.withIndent(
  1. dynamic indent, [
  2. Object? toEncodable(
    1. dynamic object
    )?
])

Creates a JSON encoder that creates multi-line JSON with sorted map keys.

For more info, see JsonEncoder.withIndent.

Implementation

const JsonSortedEncoder.withIndent(indent,
    [Object? Function(dynamic object)? toEncodable])
    : super.withIndent(indent, toEncodable);