@override Object toJson() => { 'healthState': ?healthState, 'kind': ?kind, if (sources.isNotDefault) 'sources': [for (final i in sources) i.toJson()], };