toJson abstract method

Map<String, dynamic> toJson({
  1. bool includeValues = true,
  2. dynamic valueToEncodable(
    1. V value
    ),
})

Return Json representation of TTMultiMap.

Node tree stored as preorder traversal.

If includeValues is true then values are included and must be Json serialisable in their own right.

Implementation

Map<String, dynamic> toJson(
    {bool includeValues = true, dynamic Function(V value) valueToEncodable});