JsonSortedEncoder.withIndent constructor
const
JsonSortedEncoder.withIndent(
- dynamic indent, [
- Object? toEncodable(
- 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);