toJson abstract method

Object? toJson({
  1. bool exportFormat = false,
})

The JSON value as a fresh, mutable copy: maps and growable lists (at every depth), numbers (num as int or double per the number rules), strings, booleans or null. With exportFormat, priorities appear as .priority and leaves with a priority as {'.value': v, '.priority': p} (the put wire form; numbers as stored).

Implementation

Object? toJson({bool exportFormat = false});