toJson method

Json toJson()

The JSON form.

Implementation

Json toJson() => {
  'id': id,
  'patches': [
    for (final p in patches) {'key': p.key, 'kind': p.kind},
  ],
  'tags': tags,
  'created': created,
  'places': places,
};