toJson method

  1. @override
Object toJson()

Implementation

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